jQuery event on value change of input hidden

后端 未结 4 694
遇见更好的自我
遇见更好的自我 2021-02-05 17:40

I have this input hidden:


I want to alert \"hey\

4条回答
  •  伪装坚强ぢ
    2021-02-05 18:13

    It is very easy :

    $('#my_id').val(myValue).trigger('change');
    

    Then you can detect change value on $('#my_id')

提交回复
热议问题