PDA

View Full Version : Trouble making a dropdown work



Celelond
02-21-2012, 09:12 AM
Hi,

I am trying to work with a dropdown box on a web page, but am having issues and really hope I can get some help.

I have tried
ie.getElementsByName("catorder").Value = "Disconnect"
and variation of this.
It keep coming back with Object does not support this method

Here is the part of the code from the web page.

<select name="catorder" class="textbox20chars" onChange="updateButton();">
<option value="-1"></option>
<option value="Disconnect">Disconnect</option><option value="Migrate_Back">Migrate Back</option><option value="Migrate_In">Migrate In</option><option value="Migrate_Out">Migrate Out</option><option value="Port_Back">Port Back</option><option value="Port_In">Port In</option><option value="Port_Out">Port Out</option><option value="Reconnect">Reconnect</option><option value="Resubmit">Resubmit</option><option value="Revoke">Revoke</option><option value="SSN_Change">SSN Change</option><option value="Subscriber_Change">Subscriber Change</option><option value="Transfer_Spid">Transfer Spid</option><option value="Transfer_Tariff">Transfer Tariff</option>
</select>
Thanks allot

raji2678
02-22-2012, 10:18 PM
Can you look at some javascript forums for the answer?