JavaScript Fall Through Switch Statements
Someone recently asked me if it were possible to easily execute the same code for two or more possible case values in a JavaScript switch statement.
Someone recently asked me if it were possible to easily execute the same code for two or more possible case values in a JavaScript switch statement.
If you're into using jQuery UI (and who's not?) then this is an easy way to change the heading of a jQuery accordion tab style heading to reflect user focus.
So I've been slowly learning jQuery over the last two weeks and today I wanted to see how I could duplicate the cool overlay style and functionality of a cfwindow. As it turns out, jQuery UI makes this super simple with Dialogs.