View Full Version : JS problem - hidden input taking no value in Chrome and Safari (Windows)

05-15-2009, 08:02 PM

I have a web app which allows users to select multiple items from a select tag. I then call a JS function on submit which collects all the options they've selected and then adds them to the value attribute of a hidden input. The options selected are then used at a later time. This works fine on IE and Firefox, but both Chrome and Safari for not adding the selected values to the value attribute of the hidden input. Are there any JS issues for Chrome and Safari that could be responsible for this? Any help is appreciated.

Apologies for lack of detail, but can't post the code.

05-16-2009, 08:29 AM
Apologies for lack of detail, but can't post the code. Apologies... we can't guess your code.

05-16-2009, 08:44 AM
We have no magic bowl, thus if no code, no solution.

There are many differences, bugs, incomplete or wrong implementation of standard javascript (ECMAScript and DOM) in all the browsers. On the other hand you might have done a HTML or javascript error, how could we know without seeing the code, or the relevant part of it? What, for Earth, could be so secret in that damned code? :rolleyes: