submit a form with jquery serialize() and upload images?? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: submit a form with jquery serialize() and upload images?? (/showthread.php?tid=22147) |
submit a form with jquery serialize() and upload images?? - El Forum - 08-30-2009 [eluser]Zeeshan Rasool[/eluser] hi all, im using CI inmy project and currently i have a issue. Actually im sending a form thru jquery serialze(). The form contains listing information of realtors. Form is a very big one so i used serialize() to get form values and passed then to ajax like: Code: $.ajax({ Also how can i upload images in this case ?? please suggest any solution. [Note: backend script is just getting values from form and update record in DB but images can't be uploaded] submit a form with jquery serialize() and upload images?? - El Forum - 02-10-2011 [eluser]bijufun[/eluser] having same problem me too.. submit a form with jquery serialize() and upload images?? - El Forum - 05-04-2011 [eluser]Unknown[/eluser] I found one article about ajax. The .serialize() method can act on a jQuery object that has selected individual form elements, such as <input>, <textarea>, and <select>. However, it is typically easier to select the <form> tag itself for serialization: ref: http://api.jquery.com/serialize/ I spotted the same problem. Also did not find a solution. Hope there is someone to help solve this problem. |