T
Thierry
Hi,
Is it possible to get the value of an asp:dropdownlist in javascript. I need
to get that value to assign it to a hyperlink.
This does not work:
document.FormEditCustomer.DDListVatCountry.selectedIndex
<script language="javascript">
function GetVatPopup()
{
VATCheck_window=window.open('VATCheck.aspx?VATNumber=' +
document.FormEditCustomer.TBVatNumber.value + '&VATCountry?' +
document.FormEditCustomer.DDListVatCountry.selectedIndex + '',
'VATCheck');VATCheck_window.focus()
}
</script>
Thanks,
Thierry
Is it possible to get the value of an asp:dropdownlist in javascript. I need
to get that value to assign it to a hyperlink.
This does not work:
document.FormEditCustomer.DDListVatCountry.selectedIndex
<script language="javascript">
function GetVatPopup()
{
VATCheck_window=window.open('VATCheck.aspx?VATNumber=' +
document.FormEditCustomer.TBVatNumber.value + '&VATCountry?' +
document.FormEditCustomer.DDListVatCountry.selectedIndex + '',
'VATCheck');VATCheck_window.focus()
}
</script>
Thanks,
Thierry