[Javascript] IE onclick problem

Troy III Ajnej trojani2000 at hotmail.com
Wed Apr 16 02:57:43 CDT 2008


What does the "return" statement stand for?!! I've never used it. 
Neither did I happen to come to the situation that I would be forced
to do so. -So, than, why is it standing there? 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        Troy III                            progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Date: Wed, 16 Apr 2008 01:39:04 -0400> From: schneegans at internetique.com> To: javascript at lists.evolt.org> Subject: Re: [Javascript] IE onclick problem> > You must have something else in your code which causes the trouble.> This works every click for me (IE 6)> > <a href="#" onclick="return addPlayer();">Add Player</a>> <SCRIPT>> function addPlayer()> {> alert("Ha ha !");> }> </SCRIPT>> > Have you "Notification for Javascript errors" enabled?> If you have any compilation error in you javascript in your page, it > will cease executing.> > _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
_________________________________________________________________
Going green? See the top 12 foods to eat organic.
http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20080416/57d6ea8c/attachment.htm>


More information about the Javascript mailing list