-
I’m Presenting at the Center for Digital Imaging Arts at Boston University, July 14
I’m doing a presentation at the Center for Digital Imaging Arts at Boston University. I’m doing the JavaScript Library Comparisons presentation I did in May once again. I’m going to tweak it a little bit to skew towards more beginners. Should be fun. Hope to see some of you there. I’m hoping I can get…
-
A JavaScript Curiosity Regarding addEventListener
I’m wondering why this code fails to stop a form submission document.forms[0].addEventListener(“submit”,falsify, false); function falsify() { return false; } and this code successfully kills it? document.forms[1].onsubmit = falsify; function falsify() { return false; } Try it out (Firefox/Safari/Chrome/Opera only- there’s no addEventListener support in Internet Explorer). The form action on both is an alert. The…
-
Twitter Search Results With JSON and Callbacks
A question was posed in the comments on my JSON Feeds For Fun and Profit Part 2 – Callbacks with Twitter post about handling Twitter search results for a #hashtag. As with the rest of Twitter’s API, dealing with search results is relatively straightforward. This post will examine how to handle a #hashtag search. If…
-
Some Internet Explorer Innovations You Probably Forgot About While Waiting for IE6 To Die
Lost in the past few years of IE6 based stagnation (and ensuing developer angst) is the fact that the Internet Explorer team have come up with some pretty cool enhancements to the way we build web sites over the past ten plus years. So, while we’re cheering on Firefox’s growing market share, hesitantly eying IE8…
-
Say Hello to JavaScript’s Native getElementsByClassName
With the recent release of Firefox 3, we’ve now got a full fledged, mainstream browser that supports the long-awaited, often replicated, getElementsByClassName method. This is good news as we’ll all be just that much speedier as we ditch the various helper functions and go right into the browser for that functionality. The thing is, the…