Return to Snippet

Revision: 63318
at April 25, 2013 01:00 by Armin


Initial Code
$('#toggle_message').click(function(){
	var value=$('#toggle_message').attr('value');
	$('#message').toggle('fast');

	if(value=='Hide'){
		$('#toggle_message').attr('value','Show');
	}
	else if(value=='Show'){
		$('#toggle_message').attr('value','Hide');
	}
});

Initial URL

                                

Initial Description
Show hide

Initial Title
Show hide jquery

Initial Tags

                                

Initial Language
jQuery