i'm working on script, , if button pressed, want page reload. however, want keep current values of post-variables.
i'm using javascript, , i've tried location.reload()
, lose variable values. however, if press ctrl+r (refresh), alert box asks if want keep post-variables.
does know how keep post-variables when reload page using javascript?
in onclick
handler button create form programmatically, fill hidden
inputs reflect names , values of variables , submit form.
Comments
Post a Comment