Test environments
- Windows 7 sp1 x64, IE 11.0.9600.17691
- Windows 8.1 x64, IE 11.0.9600.17690
Test Page source
<!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<object id="ut_atocx" style="visibility: hidden" height="1" width="1"
classid="clsid:07361D23-67C0-4511-8C89-6DEE3F554446">
<param name="_Version" value="65536">
<param name="_ExtentX" value="26">
<param name="_ExtentY" value="26">
<param name="_StockProps" value="0">
</object>
<script type="text/javascript">
var client = document.getElementById("ut_atocx");
</script>
</body>
</html>
Description
My project needs a AtiveX object, and it functions fine until it comes to localStorage. When I opened a regular page, i.e www.bing.com, and hit F12 to open Developers Tools(forgive me if wrong name cause my OS is Chinese edition) ant then console tab, localStorage works fine. When I opened the test page, and do the same things as above, the return value is "undefined". I've searched the Internet and can't find any answers about AtiveX and localStorage. Please help. Thank you.
Aucun commentaire:
Enregistrer un commentaire