[jQuery] Re: jQuery introduction script (Alert Message is now showing!)

2009-04-20 Thread yrstruly
Hi,sorry but this code isnt doing what its suppose to. No Pop up message On Apr 3, 6:47 am, Mohd.Tareq tareq.m...@gmail.com wrote: On Fri, Apr 3, 2009 at 5:52 AM, yrstruly anthony.apol...@gmail.com wrote: Hallo Im new to jQuery. I have donwloaded the jquery-1.3.2min file and i have

[jQuery] Re: jQuery introduction script (Alert Message is now showing!)

2009-04-03 Thread Steve
Hi, You need to return false so the anchor tag does not behave in its normal way (ie, take you to the link specified). So this should work: $(a).click(function(event){ alert(Thanks for visiting!); return false; }); On Apr 2, 9:47 pm, Mohd.Tareq tareq.m...@gmail.com wrote: On Fri,

[jQuery] Re: jQuery introduction script (Alert Message is now showing!)

2009-04-03 Thread Liam Byrne
I think the OP does want it to follow the link, but show the alert first ? So return false is not required. OP - make sure jQuery is loading (there's no error if it doesn't). Try just an alert message within $(document).ready() itself. Steve wrote: Hi, You need to return false so the

[jQuery] Re: jQuery introduction script (Alert Message is now showing!)

2009-04-03 Thread cewagner hotmail
yrstruly, I replaced the DOCTYPE and html begin tag with this statement in order to keep browsers from entering quirks-mode. You original code worked fine in most of my browser tests except for IE8 RC. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

[jQuery] Re: jQuery introduction script (Alert Message is now showing!)

2009-04-02 Thread Mohd.Tareq
On Fri, Apr 3, 2009 at 5:52 AM, yrstruly anthony.apol...@gmail.com wrote: Hallo Im new to jQuery. I have donwloaded the jquery-1.3.2min file and i have copied that introduction code from the website and saved it in the same directory as the jquery file. When i run the script it seems to be

[jQuery] Re: JQuery Introduction

2008-09-02 Thread Guy Fraser
Sikandar123456 wrote: A very good lecture on jquery http://saqibshehzad.blogspot.com/2008/09/jquery.html John Resig has a Mini Me! :D http://www.austinpowers.com/objects/desktops/minime_1280x960.jpg Sorry, couldn't resist. I'll get my coat...