Hi,sorry but this code isnt doing what its suppose to. No Pop up
message
On Apr 3, 6:47 am, "Mohd.Tareq" wrote:
> On Fri, Apr 3, 2009 at 5:52 AM, yrstruly wrote:
>
> > Hallo
>
> > Im new to jQuery. I have donwloaded the jquery-1.3.2min file and i
> > have copied that introduction code from the
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.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; x
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 a
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" wrote:
> On Fri, Apr 3, 2009 at
On Fri, Apr 3, 2009 at 5:52 AM, yrstruly 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 working and when i
5 matches
Mail list logo