Hi there developer! Today we are going to do a code snippet that: Checks if a username is available or not (in the database). If the username is available, the program will output “[your_username] is available!” Then if it is not available, “Username already taken” will be printed. This code also has a simple validation… Continue reading Check and Validate Username in jQuery
Tag: featured-ajax
Add or Remove File Field in jQuery
Hi guys! Today I’m going to share about multiple file upload in PHP. We’ll be using jQuery to add or remove new file fields. This one is useful when your system has multiple email attachment or document management feature. LIVE DEMO This code contains the form with the file field, add and remove button and… Continue reading Add or Remove File Field in jQuery
Check or uncheck checkbox in JavaScript
Today, we will learn how to check or uncheck checkbox in JavaScript. We will show all selected checkboxes using PHP as well. When you have a list of data, sometimes, you want to easily check all or uncheck all of them. And then process those selected/checked data by getting their values first. Today we’re going… Continue reading Check or uncheck checkbox in JavaScript
How To Use jQuery Table Sorter With A Database
Hi there! Today we’re going to do a script that: Get list of data from a database. Arrange those data into a table, so that It will be sortable (without page refresh) once you click its header. All of these are done with the help of TableSorter. It is a jQuery plugin that lets you… Continue reading How To Use jQuery Table Sorter With A Database
How To Use jQuery Lightbox With A Database? Step by Step Guide!
Today I’m gonna show you how to use Lightbox while getting photo information from your database. I think this is great if you wanna have something like a dynamic photo gallery in your site. LIVE DEMO Step 1: Prepare your Database. We’ll have something like this: Step 2: Download Lightbox here. Step 3: Unzip it… Continue reading How To Use jQuery Lightbox With A Database? Step by Step Guide!