Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp:Dropdownlist onChange event not firing in IE but is in Mozilla

Status
Not open for further replies.

jelrod63

Programmer
Dec 26, 2006
10
US
I have an inline popup that has an asp:Dropdownlist that is NOT firing during the onChange event in IE but IS firing in Mozilla. In IE I'm getting the error "Object expected" Code 0

Below is the my code. Any help would be greatly appreciated.

Code from my aspx page
Code:
<body>
<form id="upSellForm" runat="server">
<table border="0" cellspacing="0" cellpadding="0"> 
<tr>
<td> 
<asp:DropDownList id="upsellDescriptionDropdown" runat="server" onChange="javascript:showMe(this);">
</asp:DropDownList>
</td>
</tr>
</table>
</form>

<script type="text/javascript"> 
function showMe(a)
{ 
alert("Here I am");
}
</script>
</body>
[code]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top