Gerhard Posted December 31, 2015 Share Posted December 31, 2015 Hi, I have a strange problem (for a newbee). My script executes only once, than the update process stops. As I open the debug window (IE 11, F12), the periodical calls working fine. Closing the debug windwo, and the periodic call stops again. I tried two Versions, neither works. Any idea? Thanks for helping With best regards Gerhard bootstraptest.html Link to comment Share on other sites More sharing options...
justsomeguy Posted January 4, 2016 Share Posted January 4, 2016 That code looks like it should work fine, are you getting any errors in the console? Link to comment Share on other sites More sharing options...
Gerhard Posted January 5, 2016 Author Share Posted January 5, 2016 No. This will be fine, but no, just doesn't work. With best regards Gerhard Link to comment Share on other sites More sharing options...
justsomeguy Posted January 5, 2016 Share Posted January 5, 2016 Do you have that online where it can be tested? Sending ajax requests doesn't work if you just double-click on the file to open it in the browser, and I don't have the server-side code so I can't really test it. Link to comment Share on other sites More sharing options...
davej Posted January 5, 2016 Share Posted January 5, 2016 I would insert the following block above your current script block... <script> window.onerror = function(a,b,c,d){ alert('Javascript Error: '+a+'\nURL: '+b+'\nLine Number: '+c+' Col Number: '+d); return true; } </script> And add 'use strict'; to the first line of your script block. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now