Results 1 to 6 of 6
Apr 28, 2007, 09:21 #1
- Join Date
- Jul 2004
- Brooklyn, NY
- 0 Post(s)
- 0 Thread(s)
Can't appendChild to select option
I'm trying to add options to a select box
the error I get occurs when I try to append "hello" to the option object
here's the code that I'm trying to execute:
the code is copied with slight modifications from here: http://developer.apple.com/internet/...e/example.html
it breaks when encountering option.appendChild("hello"); - something is wrong with this line but for the love of God I can't figure out what it is.
any ideas on why this is happening?