How to Shake an element with jQuery UI

In the WordPress Admin dashboard login form, the login field animates with a shake effect whenever the user enters incorrect details. This feature can be easily implemented using the jQuery UI library.

With jQuery UI, you can apply a shake effect to an element, specifying the direction and distance of the shake.

This functionality serves to alert users when invalid input is entered.

In the demonstration, a login form is created, and it shakes when an incorrect username and password are entered.

How to Shake an element with jQuery UI

Read more

Sorting the Table by clicking Header with AJAX

With sorting the list it is easier for the user to locate items in a sorted list than unsorted. It rearranges the data in specific order (ascending or descending).

You can either use PHP or AJAX to get the sorted data.

I am using AJAX to sort the list in this tutorial.

In this tutorial, I am displaying the employee’s list and attach click event on the table column header. Whenever header gets clicked then send an AJAX request with column name to sort with.

Sorting the Table by clicking Header with AJAX

Read more

Dynamically show data in jQuery UI Tooltip using PHP

In the constantly e­volving world of web developme­nt, creating an immersive and e­ngaging user experie­nce is crucial. One way to achieve­ this is by utilizing tooltips – a powerful tool that provides additional context and information whe­n users interact with specific e­lements on a website­.

By combining jQuery UI Tooltip with PHP, you can create dynamic tooltips that seamle­ssly fetch and display data in real-time.

In this article­, readers will embark on a journe­y to explore the fusion of the­se technologies, discove­ring how interactive tooltips can captivate and inform use­rs while showcasing data in creative ways. So why wait? Le­t’s dive into the exciting world of dynamically showcasing data in jQue­ry UI using PHP!

Dynamically show data in jQuery UI Tooltip using PHP

Read more