Category: Javascript
How to cancel an animation in JQuery before starting a new one?

JQuery animations are great, but they queue up when multiple animations are applied to the same object. To learn how to cancel a JQuery animation read this article.

By Gurudev with 0 comments
How to access inbuilt JQuery $ used by WordPress in javascript?

The JQuery framework used by wordpress is not accessible by other custom javascript. Here is how to access the JQuery object loaded by Wordpress instead of having to reload another JQuery script file.

By Gurudev with 0 comments
How to dynamically load javascript files using JQuery?

Want to load a javascript file asynchronously using JQuery? Here is how to do it.

By Gurudev with 0 comments
Simplest Ajax Code Snippet

The simplest possible code snippet to implement javascript Ajax feature.

By Gurudev with 0 comments
How to Trim a string in Javascript

A javascript function based on regular expressions to trim a string of spaces on either sides.

By Gurudev with 0 comments