Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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');
            }
        });
});
Comment

PREVIOUS NEXT
Code Example
Php :: chart trong laravel 
Php :: undefined function bcmul php linux 
Php :: how to make login and logout to blog with php without database or MySQL 
Php :: laravel app service provider why eloquent model error 
Php :: rewrite rule wp blog to subdirectory 
Php :: install php 7.4 fpm 
Php :: php random number routing 
Php :: Laravel - foreach on collection 
Php :: echo define value 
Php :: breaking long array in php 
Php :: wordpress single_cat_title slug 
Php :: levenshtein (PHP 4 = 4.0.1, PHP 5, PHP 7, PHP 8) levenshtein — Calculate Levenshtein distance between two strings 
Php :: RequestCriteria laravel 
Php :: Laravel/Php Carmel Casing / Title Casing 
Php :: php tree function parrent_id 
Php :: cakephp get present name 
Php :: executer page php via boutton 
Php :: Comment désactiver la barre latérale Widgets sur des pages spécifiques WordPress 
Php :: run drush command from php 
Php :: Add class to menu anchors 
Php :: php email 
Php :: trim | from right in php 
Php :: php get current date 
Php :: laravel authentication tutorial 8 
Php :: laravel validation alphanumeric with spaces 
Php :: php include file from file included before 
Php :: tackel discount in javascript 
Java :: how to print hello world in java 
Java :: jbutton set background transparent 
Java :: spigot actionbar 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =