This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Could anyone help me, I need to have an onclick and ondblclick within the same <td> element. As I was looking for the solutions in the internet I saw some thread that says use the setTimeout to delay the onclick event. However while using the code from the thread, I think the event parameter from the first function is null. I need the event parameter for my openPopup function that will determine the coordinates of the <td> element
As already pointed out, IE, inexplicably, unconscionably, still uses a proprietary event model. You'll need to make allowances for this or to use a library such as jQuery (highly recommended) that abstracts the differences away.
Paul Michael Serrano
Joined: Nov 22, 2004
Hi Bear, I just started reading jquery and this is my first time to write code. Did I translated my code to jquery code properly?
I tried this code. Again it's working fine with Mozilla firefox and not in IE7/IE8.
MOZILLA Firefox browser
The only difference is when I use the setTimeout(in old code) the popup never shows. In new code (with jquery) the popup shows and closes (which is ok).