![]() |
jQuery form serialize data missing in CodeIgniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: jQuery form serialize data missing in CodeIgniter (/showthread.php?tid=56790) |
jQuery form serialize data missing in CodeIgniter - El Forum - 01-20-2013 [eluser]Unknown[/eluser] i have a form in my view page .....as i want to send data through jquery or ajax because i dont want to reload or refresh the page . i am sending data through jquery serialize.. but all the fields are not submitting through serialize.. here first dropdown which is "supplier" is going empty .. means jquery serialize is not capturing his value //.. Code: <?php echo form_open('stockInController/addStockIn', $attributes); here is my jquery function .. Code: $('#btn').click(function(event) { jQuery form serialize data missing in CodeIgniter - El Forum - 01-21-2013 [eluser]Otemu[/eluser] Follow this guide http://api.jquery.com/serialize/ jQuery form serialize data missing in CodeIgniter - El Forum - 01-21-2013 [eluser]vitoco[/eluser] This is by far more quickly and clean . Jquery form plugin http://malsup.com/jquery/form/ Slds |