Code only runs on Google Chrome?

http://pastebin.com/ysEXKHXk

I just noticed this today when a friend of mine was trying to create an account on my website.
I was able to create an account fine using Google Chrome but since he did not have Chrome, he used Firefox and it didn’t work for him. Same thing with Internet Explorer.

What would happen is after you fill out the form and click the button to register, the form just clears itself as if the page reloaded.

Is it because of the javascript:history.go(-1) ?

I tried removing the javascript code and just do a simple echo “test”; but firefox and internet explorer responds the same way, it just clear the form and looks as if it refreshed the page.

Sponsor our Newsletter | Privacy Policy | Terms of Service