jQuery html attribute not working in IE

前端 未结 24 2729
[愿得一人]
[愿得一人] 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:45

    I had a issue on IE using this:

    $('#valor_total').html(valor_total); 
    

    where id had the same name as the variable passed as a parameter. Changing the id worked well:

    $('#div_valor_total').html(valor_total); 
    

提交回复
热议问题