Welcome Guest, Not a member yet? Register   Sign In
Identify ajax calls
#7

[eluser]mindSmile[/eluser]
You could also try setting an extra variable when making the ajax call, something like "ajax: 1" and then if that variable is set you know it came from the AJAX and not the url. That's how I usually distinguish to serve different responses for ajax vs. non-ajax.


Messages In This Thread
Identify ajax calls - by El Forum - 07-27-2010, 06:15 AM
Identify ajax calls - by El Forum - 07-27-2010, 06:26 AM
Identify ajax calls - by El Forum - 07-27-2010, 06:31 AM
Identify ajax calls - by El Forum - 07-27-2010, 06:37 AM
Identify ajax calls - by El Forum - 07-27-2010, 06:39 AM
Identify ajax calls - by El Forum - 07-27-2010, 06:52 AM
Identify ajax calls - by El Forum - 07-27-2010, 01:54 PM
Identify ajax calls - by El Forum - 07-27-2010, 02:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB