> $(document).ready(function(){
>         $("a#sliderExec").attr({ href: "javascript:;"});
>         $("a#sliderExec").click(function(){
>                 $("div#myElement").toggle("slow");
>                 return false;
>         });
> });


I haven't read this whole thread, but I don't see why you need this line:

 $("a#sliderExec").attr({ href: "javascript:;"});

You're handling the click event anyway, so why update the href?



> And can you answer one more thing. Why is it that href isn't shown when I
> view the source code in my browser but it shows up when inspecting the code
> in Firebug? My understanding is that it would get appended to   on loading
> of the page.


When you view source you're looking at the document that was
downloaded from the server.  Firebug shows you the document in memory.

Mike

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to