Posts tagged as 'jQuery'

2010
10
Apr

$(“#objectID”) != document.getElementById(“objectID”)

Using document.getElementById(“…”) in plain ol’ Javascript will return a reference the DOM element by the given name. In jQuery, we use $ for everything. So I assumed using $(“#…”) would be the same thing. This is wrong. $(“#…”) will return an associative array (object) which is what allows us to change properties of the DOM … Continue reading

2009
29
May

Image Load Event Binding With IE Using jQuery

I ran into a strange issue today. I wrote a plugin for jQuery that used the load events from jQuery attached to an image. This plugin worked perfectly in Firefox, Safari, and Opera on PC, Mac, and Ubuntu. The only browser that it had problems with was IE. I know. Completely unheard of right? I … Continue reading

2009
04
May

FancyZoom 1.1

I recently found FancyZoom 1.1 which is the Mac-esque version of Lightbox or Thickbox. I like it and I think it has a lot of potential. The pros and the cons: Pros: It doesn’t black out the entire screen to display the image. Allows you to be able to click on other images or links … Continue reading

2009
04
May

XML Namespaces With jQuery (Solved)

If you have come to this post, you are in the same situation I was in. Many Javascript/AJAX framesworks like jQuery do not work with XML namespaces. I came upon an instance at work where I needed to display data from an RSS feed from Zoho Creator. Part of the problem was some of the … Continue reading