I have a payment form in which user can enter all his card details,and when he clicks,he is taken to the banks 3D secure page. But,the problem is, the user can simply click
You have to use history api, and for better compatibility use history.js plugin.
Handling pressing back button :
$(window).bind('onpopstate', function(e){ //your dark doings here });