Make Price Range Slider with AngularJS and PHP

Most of the eCommerce sites e.g. Flipkart, Snapdeal, etc have a price range slider for searching purposes.

The user doesn’t have to enter the price range manually.

It will automatically filter the list when the price is been changed by the user.

In this tutorial, I am implementing a similar type of functionality with AngularJS and PHP.

I am using jQuery UI to create the slider.

Make Price Range Slider with AngularJS and PHP

Read more

Create alphabetical pagination with PHP MySQL

The alphabetical pagination searches the records according to the first character in a specific column.

You can either manually fix the characters from A-Z or use the database table column value to create the list.

In this demonstration, I list all available character from a field in the Table and show the total number of records with it. Filter the record whenever a character is being pressed from the list.

Create alphabetical pagination with PHP MySQL

Read more

How to avoid jQuery conflict with other JS libraries

The widespread adoption of jQuery, a renowned JavaScript library, can be attributed to its simplicity and convenience in manipulating HTML documents, handling events, and creating animations. However, as the web development landscape evolves, numerous JavaScript libraries and frameworks with distinct features and syntax have emerged, leading to a common challenge: conflicts between jQuery and other JavaScript libraries.

Encountering conflicts between jQuery and other libraries can result in unexpected errors, impaired functionality, or even complete application failure. To ensure smooth integration and mitigate these conflicts, it is essential for developers to understand their nature and implement effective strategies.

This article e­xplores the best practice­s for avoiding jQuery conflicts with other JavaScript libraries. Following these practices can e­nhance application stability and performance.

How to avoid jQuery conflict with other JS libraries

 

Read more