I would give each control that I wanted to clear the class name say class="ClearOnStartup" , and then my jQuery would be:
$(function(){ $(".ClearOnStartup").val(""); });
I would have a different flag just because I liked to separate such things in the form of packages.
try this for checkboxes
$('.ClearOnStartup').attr('checked', false);
Perhaps the best way
source share