Trigger change event of dropdown

后端 未结 6 1040
逝去的感伤
逝去的感伤 2020-12-02 12:12

I want to trigger the change event of dropdown in $(document).ready using jquery.

I have a cascading dropdown for country and state in user details page. how can i s

6条回答
  •  执念已碎
    2020-12-02 12:14

    alternatively you can put onchange attribute on the dropdownlist itself, that onchange will call certain jquery function like this.

    
    
    
    

    hope this one helps you, and please note that this code is just a rough draft, not tested on any ide. thanks

提交回复
热议问题