hi, am just beginning with jquery, and i want to hide a div to begin. i tried this and it doesnt work and it is not hidden. do you know what is wrong? i also tried, $("durl").css("display","none");
is this wrong? thanks <html> <head> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("durl").style.display="none"; }); </script> </head> <body> <div id="durl" > <p> <label for="curl">URL</label> <input id="curl" name="url" size="25" class="required" type="text" /> </p> </div> </body> </html>