Answers for "php select disable submit no value"

PHP
0

php select disable submit no value

$(document).ready(function() {
     $("#names").change(function () {
          var str = "";
          if ($("#names option:selected").val()=='')
            {

                $('#jsbutton').attr('disabled', 'disabled');  
            }
            else
            {

                $('#jsbutton').removeAttr('disabled');
            }
        });
});
Posted by: Guest on September-27-2020

Browse Popular Code Answers by Language