We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I've config cross domain. here my code
<script src="~/Scripts/Global/xdUtils.min.js"></script> <script src="~/Scripts/Global/xdLocalStorage.min.js"></script> <script type="text/javascript"> xdLocalStorage.init( { iframeUrl: 'http://xxx.com/auth.html', initCallback: function () { console.log('Got iframe ready'); } } );
and after login success, I set data
xdLocalStorage.setItem("tokenauth", response.access_token, function (data) { if (data.success) { alert("success"); } else { alert("false"); } });
When I run this code, it appear success
But when I read data
$(document).ready(function () { xdLocalStorage.getItem("tokenauth", function (data) { console.log("Token:" + data.value); }); })
I get error
Cannot read property 'contentWindow' of undefined
Please, get me idea
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I've config cross domain. here my code
and after login success, I set data
When I run this code, it appear success
But when I read data
I get error
Cannot read property 'contentWindow' of undefined
Please, get me idea
The text was updated successfully, but these errors were encountered: