ayha1999
asked on
Keyup for dropdownlist
Hi,
I am trying the following script to disable a button when changing item in a dropdownist in an aspx page but not working. The script is working for text box.
</script>
<script type="text/javascript">
$(document).ready(function () {
$(".ddlDrop").keyup(functi on () {
$("#Button1").attr('disabl ed', 'disabled');
});
});
</script>
<asp:DropDownList ID="ddlMat" runat="server" CssClass="ddlDrop">
Please help.
Thanks
ayha
I am trying the following script to disable a button when changing item in a dropdownist in an aspx page but not working. The script is working for text box.
</script>
<script type="text/javascript">
$(document).ready(function
$(".ddlDrop").keyup(functi
$("#Button1").attr('disabl
});
});
</script>
<asp:DropDownList ID="ddlMat" runat="server" CssClass="ddlDrop">
Please help.
Thanks
ayha
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<script type="text/javascript">
function Populatedetail() {
var Button1 = document.getElementById('B
//Disable the Button
}
</script>