clear input field after submit jquery code example
Example 1: form reset jquery
$('#form_id').trigger("reset");
Example 2: disable input field from jquery
// Disable #x
$( "#x" ).prop( "disabled", true );
// Enable #x
$( "#x" ).prop( "disabled", false );