Looking at bit more at the code, it looks like you're using 
body.onfocus/onblur to catch the focus.

I had to check, but it looks like this attribute is only part of the 
HTML5 draft spec. It is not part of HTML4 and it is not part of XHTML1 
which the page is defined as. IE sometimes over-rides this and supports 
it regardless. The normal suggestion is to use window.onblur as this is 
part of HTML4 spec. I'm unsure if it is part of XHTML1.

You can copy/paste the code into the W3 validator to get the official 
line on it:

http://validator.w3.org/#validate_by_input

All the Best,
Colin.

On 06/02/2012 10:36, Colin wrote:
>> Hi Thomas,
>>
>> Thanks for all the help,
>>
>> It does this in Internet Explorer but it does not in the latest Firefox
>> and Chrome. Both Firefox and Chrome refresh regardless of the focus.
>>
>> This is the same on both my laptop (32bit Win7) and pc (64bit Win7)
>>
>> All the Best,
>> Colin.
>>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to