Category: Jquery

Onsubmit event using ajax and return true but Form not submit using Jquery

The onsubmit event is commonly used to validate the contents of form controls and set the contents of some input:hidden elements before submitting. If the user forgot to fill some required fields or made some other mistake on the form, you can cancel the submission with the onsubmit event. See the example below for details […]

How to Make Animated Skill Bar Using jQuery, HTML And CSS

In this tutorial we will show you how to create animated skill bar using jQuery, HTML and CSS.You may also like animated progress bar using jquery. You may also like How to Animated progress bar using jquery, html and css and How to Create File Upload Progress Bar Using jQuery and PHP. HTML Code CSS Code jQuery Code

How to Check UserName and Email Availability From Database using PHP and Ajax

In this tutorial, we will see a PHP script to implement username live check feature using AJAX, jQuery, and MySQL. Checking UserName and Email Address of the user on SignUp is good way to prevent duplicate content on database and several other problems. PHP, jQuery and HTML Code PHP Code (checkdata.php)

How to Load Data From Database Without Refresh Page Using Ajax and PHP

In this article, you will learn how to retrieve data from a database without refreshing the webpage. Suppose we have student table that contains an name and username and an student_info table that contains whole student information. You may also like Submit a form without using a submit button using JavaScript and How to upload image without refresh […]

How to Add, Edit and Delete Records Using jQuery, Ajax, PHP and MySQL

The tutorial teaches you how to build a simple system where you can easily add new records to a database, view and update the added records in the database or delete the records complete from the database using Ajax/jQuery and PHP. You may also like How to Delete Multiple Records From MySQL Using PHP and How to Create, […]

PHP – Infinite Scroll Pagination using JQuery Ajax Example jquery

PHP – Infinite Scroll Pagination using JQuery Ajax Example

Step 1: Create posts table In this step we will create new new table “posts” in database. You can use following SQL Query for create “posts” table. So let’s create using bellow sql query: item table: CREATE TABLE IF NOT EXISTS `posts` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` text […]

How to Auto Suggestion of User Name and Email Id Using Ajax ,Mysql, jQuery and PHP

In this tutorial we will create a auto suggestion technique for user registration that is applicable for both User Name and User Email Address. While registration time user registering their username in the username column, that time the same user name already exist in the database, for that we are creating auto generation of username […]

jQuery blur() Method jquery

jQuery blur() Method

Definition and Usage The blur event occurs when an element loses focus. The blur() method triggers the blur event, or attaches a function to run when a blur event occurs. HTML Code <html> <head> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script> <script> $(document).ready(function(){ $(“input”).blur(function(){ alert(“This input field has lost its focus.”); }); }); </script> </head> <body> Enter your name: <input […]