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 to the CF scene
    Join Date
    Jan 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Editing drop down lists

    I have this code in the beginning:
    Code:
    document.write("<option id='test' value='move" + i + "'>Fire Blast</option>");
    How do I edit the text Fire Blast to something else?
    The Fire Blast part is not attribute, so it can't be edited like:

    Code:
    document.movelist.name = "Something else";

  • #2
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nevermind solved.

  • #3
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,091
    Thanks
    38
    Thanked 498 Times in 492 Posts
    Quote Originally Posted by Stryke07 View Post
    Nevermind solved.
    That doesn't help the next person to stumble upon your initial question.
    Just to complete the thread, describe how it was solved.


  •  

    Posting Permissions

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