2009/8/5 Darin Adler da...@apple.com:
On Aug 5, 2009, at 9:42 PM, Jonas Sicking wrote:
2009/8/1 João Eiras jo...@opera.com:
How can one in a script check for UA support?
else if(localStorage){}
does not work for Opera**.
This obviously does not work because you need to prefix
On Aug 5, 2009, at 9:42 PM, Jonas Sicking wrote:
2009/8/1 João Eiras jo...@opera.com:
How can one in a script check for UA support?
else if(localStorage){}
does not work for Opera**.
This obviously does not work because you need to prefix
localStorage with window
2009/8/1 João Eiras jo...@opera.com:
How can one in a script check for UA support?
else if(localStorage){}
does not work for Opera**.
Hi.
This obviously does not work because you need to prefix localStorage with
window if(window.localStorage) else the script breaks because localStorage
How can one in a script check for UA support?
else if(localStorage){}
does not work for Opera**.
Hi.
This obviously does not work because you need to prefix localStorage with window
if(window.localStorage) else the script breaks because localStorage is a
undefined identifier while
http://dev.w3.org/html5/webstorage/#the-storage-interface
Web Storage how to check for support?
How can one in a script check for UA support?
How about either of the following, they both worked as expected for me.
// Check for the Storage interface
if (window.Storage) { ... }
// Check
Joseph,
thanks for that,
had tried document but not window
regards
~:
On 27 Jul 2009, at 16:41, Joseph Pecoraro wrote:
http://dev.w3.org/html5/webstorage/#the-storage-interface
Web Storage how to check for support?
How can one in a script check for UA support?
How about either