Input value doesn't display. How is that possible?

后端 未结 13 2302
后悔当初
后悔当初 2021-02-04 23:54

This must be something utterly stupid that I\'ve done or am doing, but I have an input with a value attribute that simply isn\'t being displayed:

13条回答
  •  没有蜡笔的小新
    2021-02-05 00:26

    I had the same problem of @Rob Wilkerson, a onchange() was cleaning the value of the input with "", so i changed to 1. Such a dumb problem!

    HTML
    
    
    Jquery
    $("#txtNumIntervalo").val(1);
    

提交回复
热议问题