Javascript history.go -


i need give user 1 alert after saving item.so using open script display alert.but when moving out page , , coming through history.go(-1) ,again getting alert.how make sure alert comes if saving item?

if use history,go(-1) going page saved record, saving record again.

it might work history.go(-2) if came page shows result, might not update saved record because page cached. go on page shows result, instead of trying find in history.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -