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:
var option=document.createElement("option");
here's the error I get:
[Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: :: showReturn :: line 29" data: no]
Line 29

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?