Hi
I hope you can help. I'm new at this....
I have a dropdown list containing Products. When the user selects a product - I would like a JS function to execute that will get the index of the product to look up the price in an array.
I have
<select name="SelectProduct1" ONClick=getIndex()>
<option selected>-- Make a Selection --</option>
<option value="FV">Product 1</option>
<option value="AA">Product 2</option>
</select>
I have tried onChange and OnClick. The error I am getting is Oject Expected
I'm sure others have needed to have many fields updated based on a product chosen.
I don't want to have a submit button as I have one already to execute PayPal.
Please HELP!!! I'm open to suggestions
Thanks
I hope you can help. I'm new at this....
I have a dropdown list containing Products. When the user selects a product - I would like a JS function to execute that will get the index of the product to look up the price in an array.
I have
<select name="SelectProduct1" ONClick=getIndex()>
<option selected>-- Make a Selection --</option>
<option value="FV">Product 1</option>
<option value="AA">Product 2</option>
</select>
I have tried onChange and OnClick. The error I am getting is Oject Expected
I'm sure others have needed to have many fields updated based on a product chosen.
I don't want to have a submit button as I have one already to execute PayPal.
Please HELP!!! I'm open to suggestions
Thanks