Container Hide  On button or Image Click

Container Hide  On button or Image Click

  
Hello,
I Want to hide container when i click on button or image and it should be display again when i click on same button. i have tried everything with DISPLAY property and putting container in ' IF LOOP '  but its not working. please help me with the solution .
Thank You..!
Solution
Hi Pankaj,

Take a look at this post that explains how to run javascript on button click.

In your case you might want to use the jquery toggle property.
Something like: "$(this).toggle();"

Cheers,
Guilherme
Solution