i've written some javascript code that i believe should set a form
variable to a certain value, depending on what the user clicks on.
unfortunately, it isn't working. here's the url:
clicking in the color palette thing and then clicking the submit button
reveals that the form variable named color isn't being set. if you
look at the javascript source, you'll see that i'm atleast attempting
to set it with "document.f orms[0].color.value = 'xxxxxx'"...
any ideas on what i'm doing wrong and how i could go about fixing it
would be appreciated - thanks!
variable to a certain value, depending on what the user clicks on.
unfortunately, it isn't working. here's the url:
clicking in the color palette thing and then clicking the submit button
reveals that the form variable named color isn't being set. if you
look at the javascript source, you'll see that i'm atleast attempting
to set it with "document.f orms[0].color.value = 'xxxxxx'"...
any ideas on what i'm doing wrong and how i could go about fixing it
would be appreciated - thanks!
Comment