<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js”></script> <script> jQuery(document).ready(function(){ jQuery(‘#btnSubmit’).on(‘click’, function() { jQuery(this).addClass(‘toggle’).removeClass(‘codepen’); }); }); </script> According To Question: #jQuery add remove class onclick codepen #Add Class jQuery […]
Change Div Order In Mobile View By jQuery
Web View […]
How To Search In PHP Array Element Containing String | Like Binod
$example = array( “who” => “Who is Binod?”, “name” => “Dose Binod Tharu is Binod?”, “where” => […]
How can I remove a particular value from an array in JavaScript with Example?
<!DOCTYPE html><html> <head> <title>How can I remove a particular value from an array in JavaScript with Example? -PHP Kishan</title> <script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js” crossorigin=”anonymous”></script> <script> jQuery(document).ready(function(){ […]
How to compare dates greater than in php?
<?php$today = date(‘d-m-Y’); // Date must be in ‘d-m-Y’ format$date = “07-07-2020”; if(strtotime($date) < strtotime($today)){ echo $date .’ date is smaller than today ‘.$today […]
How do I set and get a cookie with jQuery?
<script type=’text/javascript’>function setCookie(key, value) { var expires = new Date(); expires.setTime(expires.getTime() + (1 * 24 * 60 * 60 * 1000)); document.cookie = key + […]
HTML to PDF Example
<!DOCTYPE html> <html lang=”en-US”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″/> <title>HTML to PDF Example – PHP Kishan</title> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js”></script> <script src=”https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.debug.js”></script> <script src=”https://html2canvas.hertzen.com/dist/html2canvas.js”></script> <style> .center{text-align: […]
reCAPTCHA V3 Example in PHP
<!DOCTYPE html> <html> <head> </head> <body> <?php ## reCAPTCHA V3 key define ## #client-side define(‘RECAPTCHA_SITE_KEY’, ‘reCAPTCHA_site_key’); // define here reCAPTCHA_site_key #server-side define(‘RECAPTCHA_SECRET_KEY’, ‘reCAPTCHA_secret_key’); // define […]