# Upload Data From Excel File To Database. #<?php Starts $error_data = “”; $success_data = “”; if(isset($_POST[“Import”])) { //First we need to make a connection …
Read MoreMonth: August 2017
Checkbox property
[the_ad id=”527″]## disabled checkbox add class $(“#updt-usr-editcat-btn”).prop(“disabled”, true).addClass(“.btn-disable”); ## Disabled checkbox add css style $(“#updt-usr-editcat-btn”).prop(“disabled”, true).css(“cursor”,”not-allowed”); $(“#updt-usr-editcat-btn”).prop(“disabled”, true).css(“cursor”,”pointer”);
Read MoreSelect Checkbox value in Jquery
## we can check by using this $(“input.checkbxclass[type=checkbox]”).click(function(e){ console.log(“Selected”); }); ## we can check by using this also $(“input:checkbox.checkbxclass”).click(function(e){ console.log(“Selected”); }); Note: here, checkbxclass is …
Read MoreCheck is checkbox checked in Jquery
## Check Checkbox Checked or Not $(‘input.addCheck’).prop(‘checked’,true); here, addCheck = checkbox class name prop(‘checked’,true) = will check is checkbox is checked. if checked return true;
Read MoreRead each checkbox if it is checked in jquery
## Read each check box $(“input:checkbox[class=checkbx]:checked”).each(function () { console.log(“check-box checked”); });
Read MoreConvert string to uppercase
## get ucfirst in jquery ## get first letter uppercase in jquery var str = “hello world”; var newstr = str.toLowerCase().replace(/\b[a-z]/g, function(letter) { …
Read MoreMake string uppercase in jquery
## get ucfirst in jquery ## get first letter uppercase in jquery <!– Html Input box : starts –> <p><input type=”text” id=”test” name=”test”/></p> <p><input …
Read More