Makitweb Posts

Sometimes, we have a requirement to make another element dependent on another element selection.

For example, when you go for the Registration to the website when you select a country according to that State Dropdown is filled.

You can do this with only PHP but it required you to submit every time on selection.

This solves your problem but it is little frustrating because it submits every time even if the selection is right or wrong and this is not every user-friendly.

For making it better you can use AJAX with jQuery it loads new data and removes old one on each selection.

What in the Demonstration ?

Creating a Department drop-down list and based on the option selection show all existing users of that department on another Dropdown.

How to Auto populate dropdown with jQuery AJAX

Read More How to Auto populate dropdown with jQuery AJAX


In Previous tutorial, we have learned that how to implement Login script using PHP. In this tutorial, we’ll be creating an AJAX Login form using jQuery and PHP. What we going to…

Read More Login using AJAX Tutorial


In this tutorial we’re going to make basic login script using PHP and MySQL. Demo  Download The Data Source We have following users in users table. id username password 1 yssyogesh 12345…

Read More Basic PHP MySQL Login


In this tutorial, we’re going to make pagination using PHP. Pagination allows us to show an only limited number of records if we had the large collection of data. By…

Read More Pagination using PHP


In this tutorial, I show you How to use AJAX for uploading an Image file. That lets users upload their image and see their image preview after uploading.

This type of functionality you have already seen on many websites.

When does it use?

You can use it when you don’t want to disturb user experience and show a preview of an image after file uploaded successfully.

How to upload Image file using AJAX and jQuery

Read More How to upload Image file using AJAX and jQuery


Using Pagination you can divide the huge list of data in multiple parts or pages. The user only able to see specific numbers of records and need to navigate for viewing another list of records.

In the demonstration, I am creating a table structure which shows the list of records. Adding AJAX pagination which has a previous and next button for navigation.

Ajax Pagination with jQuery and PHP

Read More AJAX Pagination with jQuery and PHP


You have already seen in many websites while Registration they allow the user to enter its username. While entering username they instantly show that username is available or not.

When is it require?

Instead of showing the message to the user that this username is already taken by someone after form gets submits. By this way, the user needs to again fill the form and press Register button.

Why not show it before, it save users time and reduce the frustration of filling the form again and again.

When you instantly show the status without pressing the button then it looks more user-friendly.

Read More Check username is available or not using AJAX


In this tutorial, I am going to show to How you can create tabs using HTML,CSS, and jQuery. When did it use? Tabs are a type of container layout this you…

Read More Tabs using HTML,CSS and jQuery


In this tutorial, we are going to make accordion using HTML, CSS, and jQuery.

The accordion is a vertically stacked list of items. Each item can be “expanded” or “collapsed” to reveal the content associated with that item. There can be zero expanded items, exactly one, or more than one item expanded at a time, depending on the configuration.

Accordions are popular because they allow developers to force large amounts of content into tiny spaces on the page.

Accordion using HTML,CSS, and jQUery

Read More Accordion using HTML, CSS and jQuery


Looping statement is use to execute and repeat a block of statements depending on the condition. In Javascript, we have the following looping statements –  while do while for while…

Read More Loops in Javascript