Click behaviour - Difference in IE and FF ?!
Posted
by OlliD
on Stack Overflow
See other posts from Stack Overflow
or by OlliD
Published on 2010-03-28T19:55:02Z
Indexed on
2010/03/28
20:13 UTC
Read the original article
Hit count: 222
Hey folks,
i just came to the conclusion that a project i am currently working on might have a "logical" error in functionality.
Currently I'am using server technology with PHP/MySQL and JQuery. Within the page there's a normal link reference with tag
<a href="contentpage?page=xxx">next step</a>
The pain point now seems to be the given jquery click event on the same element. The intension was to save the (current) content of the page (-> form elements) via another php script using the php session command. For any reason, IE can handle the click event of Jquery right before executing the standard html command, that reloads the current page again with the new page parameter. By using FF the behaviour is different. I assume, that FF first execute the html command and afterwards execute the javascript code which handles the click event. Therefore the resultset here is wrong respectivly empty.
My question now is whether you made the same experience and how you handled / wordarrounded this problem.
I'd be thankful fur any of your tips or further feedback. Maybe you also have a solution on how to rethink about the current architecture.
Regards, Oliver
© Stack Overflow or respective owner