Welcome Guest, Not a member yet? Register   Sign In
CI NOOB QUESTION : AJAX
#5

[eluser]Jelmer[/eluser]
@napz

You do realize there's a huge difference between client side scripts (Javascript/Ajax) and server side scripts (PHP/CodeIgniter)?

Client side scripts can only do what your webbrowser allows it to do (or is capable of). In order to get a client side script to do server side actions (example: saving something to the database) you need to create a controller that accepts the Ajax.request post vars and saves them using your model.

First try to understand what you can and can't do with client side scripts (there're some things called Google, Wikipedia and probably the JavaScript library's documentation that can help you there)


Messages In This Thread
CI NOOB QUESTION : AJAX - by El Forum - 01-11-2010, 10:44 PM
CI NOOB QUESTION : AJAX - by El Forum - 01-11-2010, 11:06 PM
CI NOOB QUESTION : AJAX - by El Forum - 01-11-2010, 11:19 PM
CI NOOB QUESTION : AJAX - by El Forum - 01-12-2010, 11:20 AM
CI NOOB QUESTION : AJAX - by El Forum - 01-12-2010, 11:37 AM
CI NOOB QUESTION : AJAX - by El Forum - 01-12-2010, 09:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB