required false jquery

Solutions on MaxInterview for required false jquery by the best coders in the world

showing results for - "required false jquery"
Alejandro
27 Jan 2018
1if(val == 'other')
2{
3  $('#amount1').show().prop('required','true');
4}
5else
6{
7  $('#amount1').hide().removeAttr('required');   
8}
Frieda
11 Aug 2016
1making required false with js
2$('#amount1').show().prop('required','true');