please, is correct?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WaWa

    please, is correct?

    <onblur="this.s tyle.background ='eaeaea'
    javascript:this .value=this.val ue.toUpperCase( );">

    Thanks from Barcelona


  • Randy Webb

    #2
    Re: please, is correct?

    WaWa wrote:
    [color=blue]
    > <onblur="this.s tyle.background ='eaeaea'
    > javascript:this .value=this.val ue.toUpperCase( );">
    >
    > Thanks from Barcelona
    >
    >[/color]


    <tag
    onblur="this.st yle.background= 'eaeaea';this.v alue=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

    Comment

    • Evertjan.

      #3
      Re: please, is correct?

      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

      Working...