E
ezelasky
I am trying to get a client side javascript function to invoke when the
selection changes in a drop down list box. I have tried :
ddl_specs.Attributes["language"] = "javascript";
ddl_specs.Attributes["OnSelectedIndexChanged"] = "return
OnChangeSpec();";
with & without the "return"; and with & without AutoPostBack = true on
the list box property and the javascript function just will not
execute.
I have gotten client side java script to work on an asp:button by
adding the javascript function via the attributes collection, so I am
not sure what else could be going on here.
Much Thanks.
selection changes in a drop down list box. I have tried :
ddl_specs.Attributes["language"] = "javascript";
ddl_specs.Attributes["OnSelectedIndexChanged"] = "return
OnChangeSpec();";
with & without the "return"; and with & without AutoPostBack = true on
the list box property and the javascript function just will not
execute.
I have gotten client side java script to work on an asp:button by
adding the javascript function via the attributes collection, so I am
not sure what else could be going on here.
Much Thanks.