empty form elements except jquery

Solutions on MaxInterview for empty form elements except jquery by the best coders in the world

showing results for - "empty form elements except jquery"
Christian
27 Apr 2017
1$("#register").trigger("reset");
Irene
18 Nov 2016
1// Bind an event handler to the "click" JavaScript event
2$('#clear').click(function(){
3    // Selects all elements of type text and clear all
4    $('#parent > input:text:not(".ignore")').val('');   
5  	// For excluding Multiple inputs 
6  	$("input:text:not('#objective_time_period, #subjective_time_period')").val('');
7});
8
9Example : http://jsfiddle.net/3zVyv/1/