Why does the javascript onchange event not fire if autocomplete is on?

前端 未结 6 1027
误落风尘
误落风尘 2020-11-27 20:26

I have a textbox with an onchange event. Why does this event not fire when the user uses the autocomplete feature to populate the textbox?

I am working with Internet

6条回答
  •  南方客
    南方客 (楼主)
    2020-11-27 20:32

    I just found that using jQuery 1.4 to set change event can solve this issue. It seems the easiest solution to this issue if you are already familiar with jQuery.

提交回复
热议问题