When i click on the button the HTML changes, But when i click again, the slide toggle fires up but the I want to put back the html as Show Me.
<div id="show">Show Me</div>
<div id="visible">Hello, My name is John.</div>
$(document).ready(function(){
$("#show").click(function(){
$('#visible').slideToggle();
$('#show').html('Hide me');
});
})
Any idea how is that done?
Thank you