javascript - Passing Variables to a new page without query string -
is there way pass variable 1 page has popup iframe on popup (iframe) on client side button click without using query strings? variable big use query string?
another way ask same question
is there way pass variable 1 page page on client side button click without using query strings? variable big use query string?
this use on ie 8 , higher html 5 storage not work
if 2 pages on same domain, can use html5 localstorage. it's javascript object can hold strings around 5mb or so.
if need store other data strings, can use json.stringify() , json.parse() convert between datatypes , strings.
without html5
you have option use cookies , get/set them javascript, otherwise there many localstorage polyfills choose from should able work in restricted environments.
Comments
Post a Comment