Skip to content Skip to sidebar Skip to footer

Classic Asp - Javascript Array Populated By Vbscript Drop Down List

I need to create a javascript array which is populated based on drop down lists' (more than one) selected values, except each drop down list has the same name because they are crea

Solution 1:

document.getElementById("phItemStatusID").value will get the value of first element with an ID of "phItemStatusID" because IDs in HTML are supposed to be unique.

If you want to get the value of a second box, use a different ID.

Post a Comment for "Classic Asp - Javascript Array Populated By Vbscript Drop Down List"