i want to select a value from dropdown list and have tried below code, but can't work.
please take a look:
please take a look:
HTML:
<select name="fldcusval" nchange="fnSetBankName();fnSetCurrencyList()fnGetCustomer();;displayDetails (this);">..</selec>
code
ie.Document.getElementsByName("fldcustval").Foucs
ie.Document.getElementsByName("fldcustval").selectedIndex=2 ' (the secod options in dropdown list)
ie.Document.getElementsByName("fldcustval").FireEvent ("onchange")
Last edited by a moderator: