469,287 Members | 2,746 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,287 developers. It's quick & easy.

please, is correct?

<onblur="this.style.background='eaeaea'
javascript:this.value=this.value.toUpperCase();">

Thanks from Barcelona
Jul 20 '05 #1
2 1266
WaWa wrote:
<onblur="this.style.background='eaeaea'
javascript:this.value=this.value.toUpperCase();">

Thanks from Barcelona

<tag
onblur="this.style.background='eaeaea';this.value= this.value.toUpperCase();">

You dont need the javascript: part, its implicit.

onblur isnt a tag, its an event handler for the tag.
--
Randy
Chance Favors The Prepared Mind

Jul 20 '05 #2
Randy Webb wrote on 21 jan 2004 in comp.lang.javascript:
WaWa wrote:
<onblur="this.style.background='eaeaea'
javascript:this.value=this.value.toUpperCase();">


<tag
onblur="this.style.background='eaeaea';this.value= this.value.toUpperCas
e();">

You dont need the javascript: part, its implicit.

onblur isnt a tag, its an event handler for the tag.


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)
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Kannan | last post: by
1 post views Thread by David Goodyear | last post: by
3 posts views Thread by msnews.microsoft.com | last post: by
22 posts views Thread by Amali | last post: by
5 posts views Thread by mohammaditraders | last post: by
5 posts views Thread by tabani | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.