Cakephp & Jquery, Location.reload Sometimes Not Working
Hi I am developing data deleting page with checkbox and button. After deletion, I'd like to display the message either the transaction is successful or not. Most of the time the me
Solution 1:
CakePHP's session flash is usually pretty reliable.
Perhaps your browser is not reliably doing a hard refresh with location.reload(true)
. Try window.location = window.location.href + "?nocache=" + new Date().getTime()
to manually clear the cache and see if that helps at all.
Post a Comment for "Cakephp & Jquery, Location.reload Sometimes Not Working"