About setting the value of input element successfully, but the display did not refresh!

  node.js, question

My purpose is to reset the value in the input box to the legal value under the condition of illegal value input by the user. Using the following method, although the value attribute of the Input element has been modified, the value in the Input display box has not been updated. What should I do?
clipboard.png

$(‘#input_money’).attr(“value”, ‘110’);

The difference between prop and attr

The difference between Attribute and Property
https://www.web-tinker.com/article/20115.html