Blog

Archive for the jQuery Category


How to Execute JavaScript, Including an External Script, Only When a DOM Element is Present
Posted on April 27, 2015 in JavaScript, jQuery by Matt Jennings

Below is an example using jQuery of how to load the Google Maps API V3 external script and instantiate a Google …

Read more


Document Ready Substitute to Make Custom jQuery Execute in WordPress
Posted on March 16, 2015 in JavaScript, jQuery, WordPress by Matt Jennings

To make custom jQuery execute in WordPress (at least 4 and above), in your external JS file add the code …

Read more


Using jQuery toggle() to Show and Hide Text
Posted on February 28, 2014 in jQuery by Matt Jennings

I’m going to use the HTML below to show how to click a Read more… link (also know as the .showhide …

Read more


Using the .click() jQuery Method to Hide a Link when Clicked and then Display an Autoplay YouTube Video
Posted on February 19, 2014 in jQuery by Matt Jennings

Somewhere in your website include a script tag that points to latest Google jQuery API.

Note: In some cases …

Read more


Manipulate an Element from an Attribute and Value Pair
Posted on January 9, 2012 in jQuery by Matt Jennings

The code below grabs an img tag with a width=”434″ attribute and value pair, goes up to the parent tag …

Read more