jquery form input reuired code example Example: jquery add required $("input").prop('required',true);