javascript - jQuery Mobile How to prevent a page from going to the default state when refresh? -
i'm using jquery mobile (no php or xml or else) web application running on cherrypy , find out how can keep page has been set user after refreshing.
as example of page, see fiddle: http://jsfiddle.net/xakxm/5/ in example, user may input text in response number
, description
. when user click submit,user see #configtable div
. if page refreshed, user not go initial page (#labels div' )but remain in the
#configtable` (the 1 user can't input can click activate button")
may there button clear states , page go default when refresh?
is possible done?
if refresh dom using window.open('index.html');
should clear in page
Comments
Post a Comment