jQuery

Recent Tutorial

jQuery Sliding Menu

September 26, 2016
Usually, menu bar occupies some spaces in a web page. By using sliding menu we can have more space to display the main content. In previous posts, we have seen about jQuery menu expand and collapse with the sliding effect. We call jQuery on the click event of the menu expand / collapse icon and […]
This tutorial was added to jQuery.

jQuery AJAX Inline CRUD with PHP

September 5, 2016
Inline CRUD is for performing Create, Read, Update and Delete operations within a grid view. In previous post we have seen an example for jQuery inline editing. Inline CRUD will enrich the page by adding new row and changing the existing data dynamically via jQuery AJAX. For adding new record we creates new table row […]
This tutorial was added to jQuery.

Add Delete Image via jQuery AJAX

August 4, 2016
jQuery image add or delete can be achieved by calling a PHP script via AJAX. In previous tutorial we have seen examples like PHP AJAX image upload and multiple image upload. But in those example we didn’t have delete option. In image add, we call PHP file upload script to upload the chosen image into […]
This tutorial was added to jQuery.

Formatting Date With jQuery Date Picker

June 26, 2016
Using jQuery date-picker we can format a selected date by using dateFormat option. In previous post we have seen how to use jQuery datepicker in a form to select value for a date field. It popup a calendar widget to select date. In this tutorial, we are going to see how to format a date […]
This tutorial was added to jQuery.

Dependent Auto Suggest with jQuery

June 14, 2016
Auto suggesting feature for a form field will reduce user’s effort while entering input data. In this post we are going to see how to do auto suggest for a dropdown field depends upon the result of another dropdown. In previous post we have seen how to create dependent dropdown and dropdown with auto suggest, […]
This tutorial was added to jQuery.

Responsive Menu with jQuery and CSS

June 2, 2016
Responsive design for our web page is used to make the page to be flexible for various screen sizes. Previously, we have seen about how to create responsive web page using CSS media queries. In this example, we have a header menu component. We are going to make it responsive for two different screen sizes. […]
This tutorial was added to jQuery.

jQuery Fade Out Message after Form Submit

April 17, 2016
After jQuery AJAX form submit, we have to respond the user with a fade-in fade-out message. We have already seen about the jQuery fading effects on the mouse over event of HTML image elements. We have an example with a HTML form containing two required fields. The AJAX code validates the form and send its […]
This tutorial was added to jQuery.

Change Theme using jQuery Split Button

April 4, 2016
In this post we are going to see how to change theme color using jQuery. We have an example with a split button having two parts. One is for default theme and the other is to browse more themes. In this example we have three themes Mercury, Sky, Gold and separate CSS files for these […]
This tutorial was added to jQuery.

Switch CSS Class Using jQuery

March 24, 2016
In this post we are going to switch the CSS class using jQuery. In previous post we have seen how to switch CSS file based on the screen size to make page responsive. We have an example showing an image icon which is smaller on page load. And then we are switching the class attribute […]
This tutorial was added to jQuery.

Switch CSS Based on Window Size using jQuery

March 17, 2016
Here we are going to see an example to switch CSS file dynamically based on the window size. In this example code we are having two CSS files. One is for web and the other is for mobile viewport. We are having a jQuery function to switch CSS based on window size. This function will […]
This tutorial was added to jQuery.

Equal Height Columns with jQuery

March 16, 2016
In a multi column template, the columns height is based on the content length. If the content lengths are varied then the columns will not be even and will not have a good look and feel. We can do this dynamically to equate the column heights. We have an example with a two-column template. These […]
This tutorial was added to jQuery.

Prevent Form Double Submit using jQuery

March 9, 2016
While submiting form via an AJAX function, the page will not refresh. So, the user interface will not show any progress about the server side execution taking place. It will leads duplicate form submit. To overcome this problem, we are avoiding double submits using jQuery. Let us see this with an example. In this example, […]
This tutorial was added to jQuery.

Restrict Typing Invalid Data in Form Field using jQuery

March 9, 2016
By restricting users from typing invalid data we can minimize validation errors in earlier stage. Let us see an example to do this using jQuery. In this example we are having two fields name and phone in our HTML form. In name field we can enter only alphabets and in phone only numbers are allowed. […]
This tutorial was added to jQuery.

Enable Disable Submit Button Based on Validation

March 9, 2016
Now we are going to see about how to enable or disable form submit button based on the form validation result. In previous example, we have seen form validation using PHP on clicking submit button. We have an example with a HTML form with disabled submit button. And then, we are enabling it by validating […]
This tutorial was added to jQuery.

jQuery Ajax Column Sort

March 9, 2016
Sorting MySQL column via an AJAX call will prevent us from sending the column name and column order in URL. So, it makes page URL simple. In the last article we have seen about how to sort MySQL column using PHP with page referesh. HTML Header with AJAX Call This HTML code contains database results […]
This tutorial was added to jQuery.

↑ Back to Top