Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

jquery capture javascript history event.

Hello All,

I am fixing the issue with old application where javascript.history() method is an issue.
Is there a way in jquery to capture this event and resubmit the form.

Thanks
0
dojjol
Asked:
dojjol
  • 3
  • 2
1 Solution
 
dj_alikCommented:
Adds a history event to jQuery
http://plugins.jquery.com/project/historyevent
0
 
dojjolAuthor Commented:
Thanks dj.

Is there a way during history event I submit the form with previous state.
0
 
dj_alikCommented:
0
 
dojjolAuthor Commented:
Thanks dj.
oh...is there a way I can refresh my page once back button is clicked.
0
 
dj_alikCommented:
<input type="hidden" id="refreshed" value="no">
<script type="text/javascript">
onload=function(){
var e=document.getElementById("refreshed");
if(e.value=="no")e.value="yes";
else{e.value="no";location.reload();}
}
</script>
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now