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

[eluser]obiron2[/eluser]
I agree with PistolPete.

Refresh the browser once Ajax has confirmed tha action was successful.

Deleting the image and refeshing the screen are two different functions. The refresh function could be potentially called from a number of places. (add an image, change an image name etc.)

You could do this as a pass through request, but it is easier to manage as single actions.

Alternatively you could flash the current page to the cookie and refresh from there.


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