[jQuery] Re: Simple question. my query isnt working

2009-10-30 Thread mkmanning
Where are you including the scripts? If they're in the head, then you need to wrap your selector in a document.ready function, as the script is running before your div exists in the DOM. Try including your scripts just before the closing body tag. On Oct 30, 7:44 pm, numerical25

[jQuery] Re: Simple question. my query isnt working

2009-10-30 Thread James
You need the document ready code. http://docs.jquery.com/Tutorials:How_jQuery_Works#Launching_Code_on_Document_Ready Otherwise your Javascript just executes the code without the div tag being loaded at all, thus nothing happens.. On Oct 30, 4:44 pm, numerical25 numerica...@aol.com wrote: I just