...

View Full Version : onfocusout for netscape 6?



hypedup.co.uk
10-15-2002, 09:48 PM
i am using this to make the border go dashed when the focus is on the field. it works fine for IE6 but with NS6 it doesnt lose the dashed border when you leave focus. anyone know what i need to change?

<input type="text" onfocus="this.style.borderStyle='dashed'" onfocusout="this.style.borderStyle='solid'">

cheers, paul

Bosko
10-15-2002, 10:37 PM
What the **** is onfocusout??I have never heard of such a thing,if you want to make an eventhandler for when the focus changes then use onblur=""

hypedup.co.uk
10-15-2002, 11:09 PM
oh yeah, i forgot about onblur! i couldnt think what i needed to use so i guessed a few and onfocusout works (i think i remember seeing it on MSDN a while ago). i think it only works with new IE browsers though.

MCookie
10-15-2002, 11:41 PM
onfocusout *New!*
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onfocusout.asp



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum