Mar 1, 2004 #1 inbaron Programmer Dec 9, 2002 22 US What is the difference between "onclick" and "onmouseclick" event handlers? Do they apply to different objects? Dothey work differently? I am baffled? Thanks for Help Shai
What is the difference between "onclick" and "onmouseclick" event handlers? Do they apply to different objects? Dothey work differently? I am baffled? Thanks for Help Shai
Mar 1, 2004 #2 WartookMan Technical User Nov 24, 2003 346 AU I've only used "onmouseclick" for graphics objects (such as applets) and languages other than JavaScript... ie capturing mouse system events. "onclick" is the HTML attribute for capturing mouse clicks on links, images, buttons. Stick with "onclick" when programming HTML/JavaScript. Pete. Web Developer & Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist w: http://www.lclimited.co.uk/e: Pete.Raleigh(at)lclimited.co.uk Upvote 0 Downvote
I've only used "onmouseclick" for graphics objects (such as applets) and languages other than JavaScript... ie capturing mouse system events. "onclick" is the HTML attribute for capturing mouse clicks on links, images, buttons. Stick with "onclick" when programming HTML/JavaScript. Pete. Web Developer & Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist w: http://www.lclimited.co.uk/e: Pete.Raleigh(at)lclimited.co.uk
Mar 1, 2004 Thread starter #3 inbaron Programmer Dec 9, 2002 22 US In other words, in a web application onmouseclick is the same as onclick does and there is no need for it. Thanks Shai Upvote 0 Downvote
In other words, in a web application onmouseclick is the same as onclick does and there is no need for it. Thanks Shai
Mar 2, 2004 #4 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB > In other words, in a web application onmouseclick is the same as onclick does and there is no need for it. As far as I can tell, JavaScript has no onMouseClick event, so no - it is not the same as onclick ;o) Dan Upvote 0 Downvote
> In other words, in a web application onmouseclick is the same as onclick does and there is no need for it. As far as I can tell, JavaScript has no onMouseClick event, so no - it is not the same as onclick ;o) Dan
Mar 2, 2004 #5 adam0101 Programmer Jun 25, 2002 1,952 US Here's a list of events IE supports, no mention of onmouseclick: http://msdn.microsoft.com/library/d.../author/dhtml/reference/events.asp?frame=true Adam while(ignorance){perpetuate(violence,fear,hatred);life=life-1}; Upvote 0 Downvote
Here's a list of events IE supports, no mention of onmouseclick: http://msdn.microsoft.com/library/d.../author/dhtml/reference/events.asp?frame=true Adam while(ignorance){perpetuate(violence,fear,hatred);life=life-1};