In this JavaScript For Loop tutorial, we do check the complete working of for loop with the help of different examples. So we do start the complete tutorial step by step, Introduction of JavaScript For Loop Workflow of JavaScript For Loop Different types of For loop with example Conclusion Introduction of JavaScript For Loop Loop […]
jQuery Signature Pad with saving As Image Using html2canvas
To process this functionality using jQuery Signature Pad with saving As Image Using html2canvas, we follow below major steps, Include Signature pad, Bezier, and jQuery CDN Include html2canvas JS library Create an HTML Canvas By using signaturePad() function draw Signature Create a blank image tag to show the generated image. Using jQuery get the Canvas […]
Check Duplicate Values in Foreach PHP
To Check Duplicate Values in Foreach PHP, we use an example where we find duplicate values in an array without using PHP inbuilt function, and then on the second method, we find duplicate values in an associative array with the help of array_search() function. Here we discuss two methods to find duplicate values in array […]
Allow Only String and Numbers Using PHP
To Allow Only String and Numbers Using PHP, we use PHP in-built functions. We do it with textbox input. Where the user gives some input on the textbox then using PHP inbuilt function we validate the staring or number using PHP. Here are 2 thing we discuss about, Allow only characters in textbox using PHP. […]
How to Check Page is Refreshed in PHP
To Check Page is Refreshed in PHP, we use PHP superglobal variable. $_SERVER[‘HTTP_CACHE_CONTROL’]: Cache-control is an HTTP protocol header which specifies the policies of browser caching on both side, one is server-side and another is client-side. These policies are used to check what information is cached and the maximum age of that information on the […]
User Login Form Validation using Ajax in PHP
To create User Login Form Validation using Ajax in PHP, first, we create major files which we connected to each other. Here we create a PHP script to get the data and for database connection and create a JS file for Ajax validation. After checking the complete source code you can also download it from […]
Check If String Contains Exact Match in JavaScript
To Check If String Contains an Exact Match in JavaScript, we use 2 methods where we use two main JavaScript built-in functions. One is split() and second is RegExp method. Here are 2 steps to Check If String Contains Exact Match using JS, Using RegExp with replace() function. Using split() with for loop. Method-1 Live […]
Detect URL Change in JavaScript Without Refresh
To Detect URL Change in JavaScript Without Refresh we use MutationObserver() function. And JavaScript location.href functionality.. Before we go through the source code of Detect URL or DOM Change in JavaScript Without Refresh, first we know about MutationObserver() function. What is MutationObserver() function The MutationObserver() function is used to detect or watch the changes made […]
How to Convert Number to Words in PHP Ajax
To Convert Number To Words in PHP Ajax, we use numfmt_create() and numfmt_format() function. Both functions are inbuilt PHP functions which also part of Human Language and Character Encoding Support. These functions are the defined under the intL (Internationalization Functions) functions. To Convert Number To Words, first, we create an HTML form where we take […]