asked on May 2, 2017
I have two fields that need to be cleared when the form opens. I don't care if there's already data in those fields or not.
This is what I have at the beginning:
$(document).ready(function(){
//set fields to hidden or readonly
$(".read-only *").prop("readonly", true);//make fields with read-only class read-only
$('.docNumberingID').hide();
//Rename Auto Fill Button
$('.autofill').text('Validate');
//Blank out all reviewer actions and comments
$('.structuralAction input').val('');
$('.structuralComments input').show();
$('.structuralComments input').val('');
$('.structuralComments input').hide();
}); //close document.ready
What am I doing wrong? Everything else above it works fine!
0
0