OnChange on textbox Event calling twice
- by Abhi
I am adding onchange event dynamically using Jqery.. When I am changing the textbox the event is firing twice and two times alert boxes are coming sometimes 3 times.
if(Country.toUpperCase().indexOf("MALAYSIA")!=-1)
{ debugger;
if(productDesc.toUpperCase().indexOf("SV")!=-1)
{
$("#<%=txtlAxis.ClientID%>").change(function()
{
if(productDesc.toUpperCase().indexOf("SV")!=-1)
{
alert('2');
}
});
}
}