Want to fire Dropdown SelectedIndexChanged Event in Javascript

后端 未结 4 589
春和景丽
春和景丽 2021-01-13 01:38

I have dropdown on my page, I am changing selected value of dropdown from popup window using javascript. I have some logic in dropdown SelectedIndexChanged event, so I need

4条回答
  •  -上瘾入骨i
    2021-01-13 01:47

    yeah...i think what Canavar said will work but it will have to look like this

    document.getElementById('<%=yourDropdown.ClientId%>').onchange();
    

提交回复
热议问题