Hello,
Im working on a CMS website that creates form elements on the fly according to id and values. I need to select certain information out of these forms using a link.
For radio options and checkbox options I use this code:
<a href="#" onclick="document.getElementById('RAL1').checked=true">1001</a>
Which works fine.
RAL1 is the id of radio I want to check.
With the select the id needs to be follwed by the options and this is where Im having problems because it needs to select a value out of an ID.
The code the form creates is
<select id="Zinc_plated_field" class="inputboxattrib" name="Zinc_plated12">
<option value="no">no</option>
<option value="yes">yes (+€871.08)</option>
</select>
I've tried just about everything but no luck. Can anybody point me in the right direction?
Thanks!