As shown below:
function resetData() { $("input[type=text]").each( function() { $(this).attr("value",""); } ); }
The above jquery implementation method for assigning values to all input type=text controls is all the content shared by the editor. , I hope it can give you a reference, and I also hope that everyone will support the PHP Chinese website.
For more jquery implementation methods for all input type=text controls, please pay attention to the PHP Chinese website!