Welcome Guest, Not a member yet? Register   Sign In
Prevent browser jump to top page when submit the form
#1

[eluser]FlyingCat[/eluser]
I am trying to prevent the page jumping to top when the user submits the form. I also uses codeigniter validation methods and it seems like the page will reload and jump to the top after the error messages are shown. Are there anyway to prevent this? Thanks for the help!

PS. My form will submit to another page but won't proceed if the form fails the validation.
#2

[eluser]InsiteFX[/eluser]
This is normal, if you do not want that then you need to use jQuery to post your forms...
#3

[eluser]FlyingCat[/eluser]
ok. Thanks for the help.




Theme © iAndrew 2016 - Forum software by © MyBB