Javascript crashes protection

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Javascript crashes protection

Post by []InTeR[] »

The question is, why does support Explorer some like:

Code: Select all

<html>
<body onload=document.form1.in1.focus();>
<form name="form1">
<input name="in1" type="text" onFocus="this.blur()" onBlur="this.focus()">
</form>
</html>
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Don't try to find a solution for your problem.
Just change the part that causes it.
Applied to your problem: don't use IE. The world must be told about Mozilla.org - but then, alas, what is the root of the problem? It's not Javascript me thinks...

Btw: if you want to check your browser, the German IT-publishing house Heise has a very illuminating and convincing one (it's all in German, though).

IE crashes with simple HTML (can't find the link, but I think it's in this forum, General Discussions). Alas, the cobblepottery...
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

1 line code used to crash your IE browser(s):

Code: Select all

<input type>
Image Image
Post Reply