jQuery html attribute not working in IE

前端 未结 24 2743
[愿得一人]
[愿得一人] 2020-12-01 14:32

I am using country and state dropdowns in my form. Whenever the user selects the country in the dropdown, the respective states of the country will populate in the states dr

24条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 14:59

    Also note that if you use a tagName prefix in your selector it is slower than just using the id.

    In your case just use $("#edit-state").append(options)

提交回复
热议问题