![]() |
Ajax + jQuery + CodeIgniter - problem - 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: Ajax + jQuery + CodeIgniter - problem (/showthread.php?tid=48231) |
Ajax + jQuery + CodeIgniter - problem - El Forum - 01-09-2012 [eluser]InterMedio[/eluser] Hello everybody! I need display value of "input" field, where I use jQuery and Ajax. I has view viewprofileedit.php Code: <html> and controller, where I use method edit(), which should be add string "From the controller " to value of element with id="item". Code: <?php But when I go to http://site.com/profile/editor and enter data into form and press button, I watch next: {"result":""} But I must get next alert message: "From the Controller: value_of_item_field" What is my problem? Thanks all. |