Category: jQuery
-
Get DIV height in JavaScript
[adinserter block=”34″] I’m going to show you how to get DIV height in JavaScript. I was in a situation when I have to animate a div by maintaining/grabbing/pausing its current height first but its height is not specified in the CSS and is dynamic. Anyway, this tutorial will focus on how to get the dynamic…
-
Simple jQuery AJAX Pagination with PHP and MySQL – Step By Step Guide!
[adinserter block=”34″]UPDATE: You should learn not only the AJAX pagination. Learn the PHP CRUD (create, read, update, delete, etc.) operations as well. Go to our PHP, MySQL and AJAX CRUD Tutorial – Step by Step Guide! Hi there! Today we are going to do a very simple yet useful script for your web apps. A…
-
Check and Validate Username in jQuery
[adinserter block=”34″]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…
-
A Happy Developer, Android + CakePHP + jQuery
Hi there! Well, I don’t have much posts few weeks ago since I’m kinda busy working on a project. I got good news and not-so-bad news, haha! This past few weeks, I’ve been working on an Android application which makes me so happy (though at first, kinda stressed, since I’m a beginner on this). Yes, it has…
-
Including Google Hosted jQuery and other JS Libraries
When I’m testing my JavaScript with jQuery, sometimes, I feel lazy to locate on my hard disk where is that jQuery library file. At the same time, I don’t want to download it on their website. So I thought of hosting it on a server and just specify its URL as a source of my…
-
Add or Remove File Field in jQuery
[adinserter block=”34″]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…
-
Check or uncheck checkbox in JavaScript
[adinserter block=”34″] 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…
-
How To Use jQuery Table Sorter With A Database
[adinserter block=”34″]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…
-
Search Data Using jQuery – Step By Step Guide!
[adinserter block=”34″]Today, we will learn how to search data using jQuery. It will be very convenient for the users of your web application if you can load more data from the database without refreshing the whole page. Users don’t have to wait for those web contents such as images, text, flash files, etc. to load…
-
How To Highlight Table Row on Hover
In this post, we’ll highlight table row on hover. Here’s how it will work: Highlight the table row on hover. Show its original color on mouse out. Just add the following JavaScript code before the </body> tag: That’s it! 🙂