tag:blogger.com,1999:blog-32696142.post6110077626303414760..comments2024-02-19T01:02:59.086-06:00Comments on ASP.Net, C#, SQL, JQuery, Sharepoint: click Event Problem Firefox SolutionUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-32696142.post-26835353219063557082010-05-23T20:42:15.645-05:002010-05-23T20:42:15.645-05:00Thanks for the solution.
It was an elegant fix fo...Thanks for the solution.<br /><br />It was an elegant fix for my issue.Unknownhttps://www.blogger.com/profile/18236602305701205722noreply@blogger.comtag:blogger.com,1999:blog-32696142.post-47087011643072310452009-11-25T17:12:36.986-06:002009-11-25T17:12:36.986-06:00Sorry Anonymous above me, but the code you posted ...Sorry Anonymous above me, but the code you posted does nothing. All it does is bind all of a page's controls to a "ghost" .click() event, to make firefox stop complaining about ".click() is not a function" (if u wanna see this, bring up the error console while clicking on the link). It never processes your event handler, because it is being redirected to some "lost inwmoeckehttps://www.blogger.com/profile/10769066626081518310noreply@blogger.comtag:blogger.com,1999:blog-32696142.post-71810395022583803592009-05-19T11:31:00.000-05:002009-05-19T11:31:00.000-05:00Saw this in a forum, should take care of it:
if(t...Saw this in a forum, should take care of it:<br /><br />if(typeof HTMLElement!='undefined'&&!HTMLElement.prototype.click)<br />HTMLElement.prototype.click=function(){<br />var evt = this.ownerDocument.createEvent('MouseEvents');<br />evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-32696142.post-37662857124353717892009-05-04T09:47:00.000-05:002009-05-04T09:47:00.000-05:00This doesn't work when the onClick uses a Javascip...This doesn't work when the onClick uses a Javascipt function....Arend Jannoreply@blogger.com