Tag Archive | "JavaScript"

jQuery Cancel Other Ajax Requests

Saturday, January 14, 2012

0 Comments

For some reason, you might be submitting Ajax requests to the same URL for the same purpose and returning the same results but it happens that there are multiple Ajax requests just being redundant. Possibly a user interface where a user is making multiple selections on a page, one after the other and running multiple [...]

Continue reading...

WordPress : Using Javascript libraries with your plugin or theme

Saturday, June 21, 2008

34 Comments

When you develop a WordPress plugin or theme, you might want to make use of some of the Javascript libraries distributed with the WordPress package such as Prototype, Scriptaculous and jQuery.

Continue reading...

JavaScript : Increment & Decrement Variable Values

Saturday, April 19, 2008

1 Comment

Using Javascript, you might want to define a variable when a page is loaded and change the value of that specific variable throughout the period of the interaction of the user with the page. You can define a variable in the HEAD section of the page like this :

Continue reading...