Welcome Guest, Not a member yet? Register   Sign In
Form Submit With jQuery
#1

[eluser]RedIgniter[/eluser]
Hello fellow coders, I have a question about form submission. How do I make the form to submit without refreshing the page, like when the user clicks submit it just flashes, or no effects just returns values without refreshing the page.

Thanks in advance.
#2

[eluser]andyy[/eluser]
jQuery + CodeIgniter = your solution.

http://jquery.com
A plugin I like and use that makes things super easy: http://malsup.com/jquery/form/
Some tutorials to help: http://codeigniter.com/wiki/Category:Help::Tutorials - look for tuts by Burak Guzel and Derek Allard

Your form will use jQuery to submit to a method created with CodeIgniter and usually posts back some kind of information to display to the user, activate another jQuery function, refresh a DIV, etc Smile.




Theme © iAndrew 2016 - Forum software by © MyBB