Programming

Writing JavaScript specific CSS

I wrote an article recently recommending Using jQuery to write JavaScript specific CSS, I’ve since change my mind on this approach. The approach I’ve moved to is similar, but doesn’t rely on a framework and allows more flexibility like moving all of my JavaScript includes to the bottom of the page for better performance.
In More >

Enable JavaScript specific CSS with one line of jQuery

jQuery is by far my favorite JavaScript framework in terms of simplicity and just pure DOM power. I picked up a little trick at a conference quite a few months back and improved upon it and thought it could benefit anyone that believes in the mantra of progressive enhancement. Here’s the line of More >

Setting your tabindex on your html forms automatically with jQuery

The tabindex is absolutely necessary for controlling the tab order through a really long form, from a usability and accessibility standpoint. This is probably not the preferred way to do this, you should be setting the tabindex attribute on all of your input elements in your html. Now if you work with lazy More >

Prevent double submit with jQuery

Another great “little” solution with jQuery. Needed a simple way to protect all the forms on our site from being double submitted. There was an attempted solution in place on our app, that added an onsubmit to every form with a function above it called ignoreDoubleSubmit that tried to trap the event of More >

Stock quote and chart from Yahoo in Java

I was recently in need of a stock quote web service in order to display quote information and charts for a corporate website I was working on, so I started looking around for something, free of course. I kept reading that the most common example of web as a service is the stock quote More >

Europa to Ganymede, a flawless Eclipse upgrade

I’ve been burned by Eclipse upgrades before, especially when it comes to running local tomcat servers in the IDE. I think as recent as 3.1 to 3.2 and 3.2 to 3.3, this or that got moved and all my tomcat servers disappeared, or they were there and they just didn’t want to start. More >

Input focus with jQuery

Form input focus always seems a pain to me, I don’t like all of the generated inline javascript that struts or other frameworks add to accomplish this and it always seems to be one issue or another. So here’s a simple solution that applies focus to the last input element in the document that More >