Answers for "jquery add required attribute"

1

change input to required jquery

$('#input').prop('required',true);
Posted by: Guest on December-19-2020
0

jquery get custom attribute

var userType = $("input[name=ctrl_CustomerType]:checked").attr('xmlvalue');
        alert("xmlvalue is: " + userType);
Posted by: Guest on March-28-2020

Code answers related to "jquery add required attribute"

Code answers related to "Javascript"

Browse Popular Code Answers by Language