Randy Webb wrote on 21 jan 2004 in comp.lang.javas cript:[color=blue]
> WaWa wrote:[color=green]
>> <onblur="this.s tyle.background ='eaeaea'
>> javascript:this .value=this.val ue.toUpperCase( );">[/color]
>
> <tag
> onblur="this.st yle.background= 'eaeaea';this.v alue=this.value .toUpperCas
> e();">
>
> You dont need the javascript: part, its implicit.
>
> onblur isnt a tag, its an event handler for the tag.[/color]
And:
not all tags have a value, perhaps you want the innerText (IE) or innerHTML
'eaeaea' should be '#eaeaea'
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Comment