polyfills for HTML5 Web Storage like
basically where should get inserted? eg in the head after my other scripts but before </head>…? what if exist scripts to the end of html just pior </body>…?
polyfills for HTML5 Web Storage like
basically where should get inserted? eg in the head after my other scripts but before </head>…? what if exist scripts to the end of html just pior </body>…?
Hi,
Ideally, all scripts should be inserted just before the closing <body> tag.
What is important in this case, is that you include the polyfill before you try and use it.
thanks — so insert polyfill prior web storage sets and gets exist…so in head prior my script.js…
jquery uses web storage … if yes from what version? if my jQ uses this i must use polyfill even prior jQ?
Yes.
Before the closing <body> tag is better
jQuery has nothing to do with HTML5’s storage API. They are two separate things.