Jquery .change() function not working with dynamically populated SELECT list

前端 未结 7 932
灰色年华
灰色年华 2020-12-05 14:13

I have a select field that is dynamically populated with an ajax call that simply returns all the HTML select options. Here is the part of the PHP that just echo\'s the sel

7条回答
  •  心在旅途
    2020-12-05 14:23

    try .live: http://docs.jquery.com/Events/live

    From docs: Binds a handler to an event (like click) for all current - and future - matched element. Can also bind custom events.

提交回复
热议问题