Store the clicked button in the outer event handler, and use that to update the text:
$(document).ready(function(){
$(".showhide").click(function(){
var btn = $(this);
btn.parent().find(".content").toggle("slow", function(){
if ($(this).is(":visible")) {
btn.text("hide");
}
else {
btn.text("show");
}
});
});
});