Welcome Guest, Not a member yet? Register   Sign In
ci + jquery
#10

[eluser]onejaguar[/eluser]
[quote author="ardinotow" date="1211691632"]
Could you give more specific information about 'someview' script?[/quote]

'someview' could be any CodeIgniter "view". It is bad form to pass $_POST directly into it, in a real world example you would populate a data array as you do for a regular controller; the pass that array. The third "true" parameter makes CodeIgniter return the view as a string, rather than outputting it directly, which enables it to become part of the JSON information you pass back to the JavaScript.

If I get some time I'll post a more complete example.


Messages In This Thread
ci + jquery - by El Forum - 05-18-2008, 10:12 PM
ci + jquery - by El Forum - 05-19-2008, 02:55 AM
ci + jquery - by El Forum - 05-19-2008, 03:10 AM
ci + jquery - by El Forum - 05-19-2008, 03:35 AM
ci + jquery - by El Forum - 05-19-2008, 05:19 PM
ci + jquery - by El Forum - 05-20-2008, 09:45 AM
ci + jquery - by El Forum - 05-20-2008, 12:38 PM
ci + jquery - by El Forum - 05-24-2008, 06:00 PM
ci + jquery - by El Forum - 05-24-2008, 11:47 PM
ci + jquery - by El Forum - 05-25-2008, 08:34 PM
ci + jquery - by El Forum - 05-29-2008, 03:06 PM
ci + jquery - by El Forum - 05-29-2008, 04:04 PM
ci + jquery - by El Forum - 05-30-2008, 09:46 AM
ci + jquery - by El Forum - 08-18-2009, 12:27 AM
ci + jquery - by El Forum - 12-17-2009, 01:19 PM
ci + jquery - by El Forum - 12-18-2009, 04:44 AM
ci + jquery - by El Forum - 06-14-2010, 09:46 PM
ci + jquery - by El Forum - 09-12-2010, 08:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB