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 <numerica...@aol.com> wrote: > I just started on a book and before I can get started I am already stuck. > Here is what ive done > > 1. Ive added jquery to my server and I included it in my html. I check my > source code in browser and it shows that it's there. I have version 1.3.2 > > 2. I added this line of code > <script src="jquery.js"></script> > <script type="text/javascript"> > $('#go').html("I have added some text to an element"); > </script> > > 3. In my body tag I added this > <div id="go"> > > And nothing is happening. I tried calling the class and the id. > -- > View this message in > context:http://old.nabble.com/Simple-question.-my-query-isnt-working-tp261394... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.