I encountered a problem today in Suzhou. The text box can only be filled with selected data. Manual entry is not possible. Checked the information. The final solution is as follows.
Page code:
Script (giving text Used when assigning values to the box):
$("#id ").removeAttr("readonly"); //Remove the readonly attribute
$("#id").val("Your value");
$("#id").attr("readonly ","readonly"); //Add the readonly attribute
This achieves this small function
[/code]