[jQuery] Re: JQuery Hello world not working

2008-03-29 Thread Karl Swedberg
--Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 29, 2008, at 6:19 AM, pradeep_tp wrote: Thanks all. I think it is the mistake of the author who wrote this example on the JQuery help page. I just copied and pasted the code, but didnt realize that

[jQuery] Re: JQuery Hello world not working

2008-03-29 Thread pradeep_tp
Thanks all. I think it is the mistake of the author who wrote this example on the JQuery help page. I just copied and pasted the code, but didnt realize that I had to add an achor tag. Thanks to everyone for your replies On Mar 5, 9:24 pm, ajpiano <[EMAIL PROTECTED]> wrote: > also, i'm not say

[jQuery] Re: JQuery Hello world not working

2008-03-05 Thread ajpiano
also, i'm not saying it's wrong or bad but i have literally never ever seen anyone have line breaks in the middle of their closing tags... On Mar 5, 10:33 am, J Moore <[EMAIL PROTECTED]> wrote: > wow, the lag on this list is brutal. is there any way of reducing it, > so people don't spend

[jQuery] Re: JQuery Hello world not working

2008-03-05 Thread J Moore
wow, the lag on this list is brutal. is there any way of reducing it, so people don't spend time responding to already-answered questions? On Mar 5, 9:34 am, J Moore <[EMAIL PROTECTED]> wrote: > actually, your code doesn't display a link. it sets up an action when > the link is clicked. > > You'

[jQuery] Re: JQuery Hello world not working

2008-03-05 Thread J Moore
actually, your code doesn't display a link. it sets up an action when the link is clicked. You're missing: do something There might be other problems too if you aren't even seeing the alert message. Download firefox and firebug. IE isn't much help for developing javascript. -j On Mar 5, 5:16

[jQuery] Re: JQuery Hello world not working

2008-03-05 Thread Matt W.
That code does not create a link, it binds that function to existing links. You either have to add a link in the html. Or create a link with something like $('a link').appendTo("body"); as the first line after $(document).ready(function() { On Mar 5, 2:16 am, pradeep_tp <[EMAIL PROTECTED]> wrot

[jQuery] Re: JQuery Hello world not working

2008-03-05 Thread Giovanni Battista Lenoci
pradeep_tp ha scritto: $(document).ready(function() { $("a").click(function() { alert("Hello world!"); }); }); This code simply add the function to the click event on all "" elements on your page, but in your code there aren't these type of elements. In markup add simply: TEST