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 tag
being loaded at all, thus nothing happens..
On Oct 30, 4:44 pm, numerical25 wrote:
> I just started on a book and
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 wrote:
> I just
2 matches
Mail list logo