![]() |
[SOLVED] Fancybox POST - 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: [SOLVED] Fancybox POST (/showthread.php?tid=39785) Pages:
1
2
|
[SOLVED] Fancybox POST - El Forum - 04-19-2011 [eluser]stormbytes[/eluser] I'm putziing around with the iframe and can't even grab a button click!? [SOLVED] Fancybox POST - El Forum - 04-19-2011 [eluser]cahva[/eluser] @RobertB: Serialize function did'nt work because you tried to use serialize on a form element. Serialize function should be used with the whole form. So if you had form like this: Code: <form id="testform"> Code: $("#testform").submit(function(ev) { BTW, the usage of $('#fb-submit').live() is wrong, .live() does not need the "json" at the end. Its only used in $.get,$.post and ajax functions to tell the datatype. Also using delegate() instead of live() is preferable (google for example delegate vs live and check the jquery manual about delegate function). @stormbytes: A little code would help ![]() |