Welcome Guest, Not a member yet? Register   Sign In
Simple ajax call page??
#3

[eluser]kgill[/eluser]
Few things:

1st, ensure jquery is using POST not GET to send data to the server.
2nd, your getting the error because you're using object references in a file that's just a function, so this-> anything won't work
3rd, to get at the CI db stuff, you need to use a controller so instead of using something.php in your validate.js you want the remote to be your_controller/your_validation_function


Messages In This Thread
Simple ajax call page?? - by El Forum - 01-13-2010, 02:46 PM
Simple ajax call page?? - by El Forum - 01-13-2010, 03:42 PM
Simple ajax call page?? - by El Forum - 01-13-2010, 03:52 PM
Simple ajax call page?? - by El Forum - 01-14-2010, 04:59 AM
Simple ajax call page?? - by El Forum - 01-14-2010, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB