Hi
I have code to clear inputs in each Javacript file like below. Is there any way that a common class in a project or something else which when called clear all Input values.
function clearTextBox() {
$('#txtId').val("");
$('#txtDescription').val("");
$('#txtIsActive').val("");
}
Thanks

Jignesh KumarRank #91 · 22.9K reputationPosted Jun 19, 2021, 8:00 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 19, 2021, 7:58 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jun 19, 2021, 8:03 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 19, 2021, 8:05 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 19, 2021, 8:08 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Jun 19, 2021, 8:20 AM EDT