Results 1 to 3 of 3
Thread: Simulate onClick without click
Jun 26, 2013, 11:11 #1
- Join Date
- Jun 2013
- 0 Post(s)
- 0 Thread(s)
Simulate onClick without click
Hi, this is my first post, I have a chat script wehere the user have to click a icon to leave, but some times (most of the times) they close the browser and the operator ignore it.
The idea is...when the user close the browser a function onBeforeUnload trig the link to make the class "closedthread" id"closedthread" bacome false without click.
I tried it with: <body class="closedthread" id"closedthread" onBeforeUnload="return false;">, but it works ONLY in IE9.