how to call input tag required field in jquery code example Example: jquery add required $("input").prop('required',true);