Welcome Guest, Not a member yet? Register   Sign In
calling the right method after ajax call
#11

[eluser]stoefln[/eluser]
[quote author="pistolPete" date="1234726403"]Another thought:
Why do you have to respond with the updated image list?
You could only respond with (e.g.) a JSON "true"/"false" success message, then the ajax script would react and reload the image list by directly calling the appropriate controller function.[/quote]
No bad idea. but i would have to make 2 requests instead of one.
Anyway- thanks for your thoughts.


Messages In This Thread
calling the right method after ajax call - by El Forum - 02-15-2009, 05:28 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 05:31 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 05:53 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:22 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:23 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:43 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:57 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 07:00 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 07:24 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 07:33 AM
calling the right method after ajax call - by El Forum - 02-16-2009, 05:52 AM
calling the right method after ajax call - by El Forum - 02-16-2009, 06:25 AM
calling the right method after ajax call - by El Forum - 02-16-2009, 06:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB