Jump to content

Breaking JavaScript


guyfromfl

Recommended Posts

Is there anyway to make java break if a condition tests false?

 

im trying to do a simple browser check and if it tests as IE it will use a different page than netscape...

 

but right now i just want it to break with document.write("Not compatible with IE") and stop before loading the rest of the code.  (since i have to refine alot of my code to conform to the gates regime)

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/42936-breaking-javascript/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.