On 9/11/07, Joan Piedra <[EMAIL PROTECTED]> wrote: > Dylan, > That's a nice workaround, to just pass the selected value. But I think > Diddly needs to add all the values in #foo2.
Hmm, you could be right, but I wouldn't use JavaScript for that. Since you know all values when you build the page, you can easily build it so that all values are also in the textbox. Then again, we dont know the whole problem, just this aspect. Looping through the options isn't that difficult, so it can be done. Diddly just needs to focus on setting the value of the textbox instead of trying to append DOM elements.