A guy on the Internet used this method:
readonly: The text box cannot be entered.
]
<script>
function dochg(){
document.getElementById("testId").value = "test"
}
setTimeout("dochg()",1000)
function showValue(obj){
alert("changed value is " + obj);
}
</script>You can use onPropertyChange to capture text Change the event and the experiment is successful!