How To Remove Error Message On Status Bar

  • Thread starter Thread starter jleung
  • Start date Start date
  • Tags Tags
    Error
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 10K views
jleung
Messages
3
Reaction score
0
On the Internet Explorer, it shows this message:

Done, but with message on page.

Is there a javascript or HTML code to remove that message so that it appears to be normal?
 
Physics news on Phys.org
That's caused by a javascript error. The message will go away once you fix it or handle the error.
If you post the source i'll be able to help you.
 
but isn't there a javascript code that can hide the message? and make the status message to say: done?
 
You can use window.status = '...' to set the status message. But that won't make the error go away as far as i know.
You can put a try/catch statement around your javascript to handle the error. For example:
Code:
try{
//your code here
}catch(x){}