(Solved) Formbuilder dropdown value same as optiontext
Posted: Tue May 05, 2015 6:38 pm
I've created a dropdown in formbuilder. Output looks like this ...
I want the values to be the same as the optiontext.
I would like this to be the same so I can use this value in a Javascript using this call:
How can I change this?
Code: Select all
<label for="fbrp__63">ext2*</label>
<select class="cms_dropdown" name="cntnt01fbrp__63" id="fbrp__63">
<option value="" selected="selected"> Maak uw keuze</option>
<option value="1">.nl</option>
<option value="2">.com</option><
/select>Code: Select all
<option value=".nl">.nl</option>
<option value=".com">.com</option><
/select>Code: Select all
var inp1 = document.getElementById('fbrp__63');
var myURL = 'chk.php?dm=www.' + inp1.value;