Problem with function setting value of hidden field
I hope someone has come across this problem before.
On my page I have a hidden field
<input name="product_size_id" type="text" id="product_size_id" value=""/>
and when a user selects a product size from a selection box the following function is called:
//--><!--functions to hide and reveal stock level based on product_size selected and to refresh hidden product_size_id value -->
function revealContent(idParam,selObj) {
var string_array = selObj.options[selObj.selectedIndex].value.split("/");
var size_id = string_array[0];
var size = string_array[1];
Bookmarks