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 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Formatting accross Frames.

    I'm trying to use a button on one frame to change only the formatting (background color) of a text field in another frame.

    Please help!

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    top.frames['framename'].document.forms['formname'].elements['textfieldname'].style.backgroundColor='#FF0000';
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New Coder
    Join Date
    Apr 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    I also intend on adding search fields and textarea fields. Would the same code work for them as well?


  •  

    Posting Permissions

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