i2u4ever Posted October 14, 2016 Share Posted October 14, 2016 I tried to use html5 storage in uniGUI, but failed. How to use html5 storage in uniGUI? uniGUI version : FMSoft_uniGUI_Complete_Professional_0.99.96.1332_Beta.exe Best Regards. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 14, 2016 Share Posted October 14, 2016 Hi, I tried to use html5 storage in uniGUI, but failed. Can you clarify, for what purpose you want to use it, and an example of your code if possible?! Best regards. Quote Link to comment Share on other sites More sharing options...
i2u4ever Posted October 15, 2016 Author Share Posted October 15, 2016 I want to call JavaScript function in uniGUI. <script type="text/javascript"> function setItem(key, value) { localStorage.setItem(key, value); } function getItem(key) { return localStorage.getItem(key); } </script> Can I call JavaScript function in uniGUI? After calling setItem('test_key", "test_value") in uniGUI, can i get "test_value" by calling getItem("test_key") in uniGUI? Bets Regards. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.