Excel upload to Table

# Upload Data From Excel File To Database. #<?php Starts $error_data = “”; $success_data = “”; if(isset($_POST[“Import”])) { //First we need to make a connection with the database $host = ‘localhost’; // Host Name. $db_user = ‘root’; //User Name $db_password= ”; $db = ‘demo’; // Database Name. $table = “excel_upload”; $conn = mysql_connect($host,$db_user,$db_password) or die … Read moreExcel upload to Table

Checkbox property

## 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”);

Select 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 class of checkbox we can check by using any of above function