I just found out (the hard way), that when you have a HTML form with action=\"\", Webkit browsers treat it differently to Firefox and Internet Explorer.
action=\"\"
I usually use
This means the current URL but with no parameters.