I was using
Code: Select all
wb.Document.All.category.fireEvent("onchange",0)
However now when I look at the HTML there is no onchange. My script doesn't work, but if I manually make the selections it works fine. Here is an excerpt of the html:
Code: Select all
<td width='35%' valign='top'>
<select name="category" style="width: 85%;" class="formStyle" id="CATEGORYID"><option value="0">-- Select Category --</option>
<option value="2402">Business</option>
<option value="1803">Cell Phone</option>
<option value="903">Convention</option>
<option value="3001">Guest Internet</option>
<option value="2">Hardware</option>
<option value="3601">Hardware Request</option>
<option value="1801">Inventory</option>
<option value="3301">NAF</option>
<option value="10">Network</option>
<option value="3603">Network Request</option>
<option value="11">Operating System</option>
<option value="6">Printers</option>
<option value="2401">Server</option>
<option value="3">Software</option>
<option value="3602">Software Request</option>
<option value="5">Switches</option>
<option value="9">Telephone</option>
<option value="2702">Wireless</option></select> <script> catValue = 'null' </script>
</td>
So two fold question, how do I proceed and why does it work normally? What's causing "subcategory" to get updated and populate a list when I choose something in "category"?