Results 1 to 9 of 9

Thread: Accessing a form element with a space in between [Resolved]

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Resolved Accessing a form element with a space in between [Resolved]

    If I have a dropdown box named so:


    Code:
    <select name="Dev. Domain">
    How would I access it using Javascript?

    I tried

    document.getElementById("Dev. Domain")

    but apparently Firefox doesn't seem to like it. And I am not quite sure it can be used in

    document.formname.Dev. Domain (?)...

    Any tips?
    Last edited by mendhak; Jan 18th, 2005 at 03:59 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width