jquery add required
snippet in javascript

jquery add required

user8580

$("input").prop('required',true);