Welcome Guest, Not a member yet? Register   Sign In
Show data on page after page refresh
#7

[eluser]BrianDHall[/eluser]
I would permit the delete page an extra parameter which is the value of select box you want to return to after delete, then permit the same extra parameter on your search page.

If this extra parameter is set when a function is called, ignore the POST value and use the parameter instead.

So you might have mysite.com/controller/search now that POSTs to itself, but allow it to be mysite.com/controller/search/selectboxvalue - the delete function then takes the selectboxvalue and uses it to build the redirect() link back to your search page.

Thats how I'd do it, even though doing it with AJAX is way more l33t, I consider it one more manual to consult Wink


Messages In This Thread
Show data on page after page refresh - by El Forum - 10-05-2009, 05:31 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 07:57 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:21 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:50 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:56 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:56 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 09:09 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 09:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB