jQuery change event being called twice

后端 未结 9 1092
滥情空心
滥情空心 2020-12-05 23:03

I have a form with some input and select boxes, each has class=\"myClass\". I also have the following script:

$(document).ready(function() {
            


        
9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-05 23:20

    For me - I had written the on change event inside a function. Moving it to $(document).ready(function () {}); solved my case.

提交回复
热议问题