Working with Geolocation watchPosition() API

I’m going to share a Geolocation watchPosition() API example. This working navigator.geolocation.watchPosition() code I used when I wanted the user to know his current location in real-time (while he is walking or riding a vehicle). This works while the user is using his Android device or any device with a browser that supports the Geolocation… Continue reading Working with Geolocation watchPosition() API

Simple PHP Pagination Script to Handle Your Growing Data

PHP Pagination is another very important feature when building any web application. When you grow your data, it must not be displayed on a single page – it can cause a browser hang or very long vertical scroll-bar, so in short, it is not good for the user experience. Video Demo Our final output. Pagination… Continue reading Simple PHP Pagination Script to Handle Your Growing Data

Two Example Usage of jQuery On() Method

How are you guys? Many friends asks me what is the use of jQuery on() method, where and when can we use it and why is it important. So in this tutorial, I’m going to give you two example situations where we can use the jQuery on() method. By definition, jQuery on() method attaches an… Continue reading Two Example Usage of jQuery On() Method

A Quick Way To Create A Vertical Accordion With jQuery

Today we are going to create a vertical accordion from scratch, using jQuery of course! We will have few lines of code that would be easy to understand. I used this code when I was asked to create an accordion for a website’s headlines. So in this example code, we will have: Three headlines, one… Continue reading A Quick Way To Create A Vertical Accordion With jQuery

Dependent Drop Down List Using JavaScript

This tutorial will teach you how to make a dynamic and dependent drop down list using JavaScript. We are using PHP and MySQL as well. Example #1 Create index.php Create index.php with the following Basic HTML Code Retrieve ‘Teams’ from database Put the following code between the ‘body’ tags of the previous section. Create database.php… Continue reading Dependent Drop Down List Using JavaScript

jQuery slideToggle Example – Solution to Table Row’s Long List of Options

When building a web application, there are some situations where you want to have long list options for a table row data. This is where jQuery slideToggle example will be very useful. In our example for today, I have a list of “Authors”, I wanna have the ability to go to their websites, list of… Continue reading jQuery slideToggle Example – Solution to Table Row’s Long List of Options

Back to top