I was messing around with the dialog widget trying to figure out away to have it remove its self after the user closed the dialog. I tried listening to the dialogclose event but that didn't work. After playing around with it turns out you can override the default options like... Read more
Recently I ran in to a small bug in Internet Explorer where on an empty cache it would take minutes for script.readyState to equal 'complete' after the script had been successfully loaded from the server. But if you refreshed the page , script.readyState would equal complete on page load. var... Read more
One of the features UI that Google wave uses is what I call the "overflow" menu. If you have a wave account you may have noticed that depending on your browser window size not all of the menu options are shown. The hidden options tucked away nicely in a drop... Read more
When creating a function in javascript its a good idea to check object the object type(s) of the arguments pasted to function. Lots of times you end up with code looking like this to do this if(typeof(foo)=='undefined'|| foo==''){ ////do something } Earlier this week I ran across Paul Irish's jQuery Anti-Patterns... Read more
Here is a simple function that will get the url of the current page. /** * getFullCurrentURL() * @author Jesse Baird <jebaird@gmail.com> * @since 09/18/2009 * @uses gets the full url of the current page * @return string | IE http://www.jebaird.com?var=val&test=yes */ function getFullCurrentURL() { $url = 'http://'; //are we... Read more
Every once in a while I run in to a small issue with Firefox not loading correctly when i save my session. It seems to happen when I have multiple tabs open that have lots of JavaScript running in them. In my case I couldn't access the GUI like in... Read more
EdgeCore just moved office buildings and I was put in charge of setting up the network and phone systems. A couple of the guys recommended VoIP. It sounded like a good idea at the time. So I went along with the recommendation. I got a quote from 8x8.com and everything... Read more
Jesse Baird is a Senior Software Engineer currently looking for a new position. When he isn't working Jesse gets his news fix at npr. He also is an avid runner and loves hitting up the bike trails in and around Iowa City, IA. more