Javascript examples for jQuery Method and Property:hide
Jquery hide and confirm window not working in Chrome
<html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> </script> </head> // w w w. j a va2 s. c om <body> <a id="aa" href="javascript:hideit();">try it</a> <script type="text/javascript"> function hideit() { if (confirm('hide?')) { $('#aa').hide(); }else{ $('#aa').show(); } } </script> </body> </html>