jquery: Call function by name on select change

后端 未结 6 2189
感动是毒
感动是毒 2021-02-20 01:12

I\'m trying to call a function by name .onchange of a select but nothing happens. When the function is describled after the attribute, it works.

THI

6条回答
  •  清歌不尽
    2021-02-20 01:56

    You must define a callback on the change function.

    
    

    That should fix your problem.

提交回复
热议问题