javascript - how to disable F5 keyboard keys -
am doing online cab booking services,
once user reached completed journey,
we showing thank booking , show booking id, people hit f5
key, page refresh , new entry inserted ,
so want deactivate f% on cashthankyou page,
thanks bharanikumar
you won't have luck - control / detection of key presses heavily browser dependant, , overriding standard behaviour impossible.
rather approach, need detect , appropriately handle duplicate form submission:
Comments
Post a Comment