Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Location
    Mauchline, Scotland
    Posts
    1,097
    Thanks
    15
    Thanked 1 Time in 1 Post

    style attribute of a textbox

    Can anyone tell me how t ochange the style attribute of a textbox?

    TIA.

    Picco

  • #2
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Location
    Mauchline, Scotland
    Posts
    1,097
    Thanks
    15
    Thanked 1 Time in 1 Post
    along the lines of this:

    <input type="radio" name="oneret" value="R" checked onClick="enaridt();displayOpenJaw('oneret'); this.form.retdt.disabled=false; this.form.retdt.style.background='FFFFFF';">

    as when this radio button is clicked I want the text box below to be changed back to normal:


    <input type="text" class="input" tabindex="5" name="retdt" maxlength="5" size="13" onfocus="removeYear('retdt')" onblur="return checkdate('/T2AgIBE/html/calendar.html','document.fexp.retdt.value','document.fexp.rettm.value','ret',document.fexp.crdate.va lue,document.fexp.seldate.value,'retdt')" onChange="javascript:this.value=this.value.toUpperCase();">


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •