Jump to content
Gerhard

Periodeical function call stops

Recommended Posts

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

Share this post


Link to post
Share on other sites

No.

This will be fine, but no, just doesn't work.

 

With best regards

 

Gerhard

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...