When a controller action redirects to an external URL (like http://somehost.com/some/path) you will find that this is hard...
Great presentation about writing Javascript like you write everything else: Well-structured and tested. JavaScript is no longer a toy...
Great look at the tradeoffs between progressive enhancement with jQuery or similiar, vs. client-side views.
Chart.js seems to be a good alternative to Google's Chart API and other commercial chart drawing libraries.
Don't Google this, you will lose all will to live. Instead use Object#isEqual() from Lodash or Underscore.js:
If you open a pop-up window [1] in your Selenium tests and you want to close it, you can...
This error can happen in Ruby 1.9. To fix it, add the following line to the top of your .js.erb...
JavaScripts and CSS should be minified for production use. In Rails 3.1+ the asset pipeline will take care of this...
If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...
This works well in the simplified case, when your link disappears after it was clicked. Let link_to_remote behave...
A tooltip library that does not use Javascript. Works in IE9+. This library (or the technique used by it) could...
Spreewald now comes with a step that tests if a form field is visible: Then the "Due date" field should...
Behave.js is a lightweight library for adding IDE style behaviors to plain text areas, making it much more enjoyable to...
Prism is a new lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s a spin-off...
The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions...
So you want to find out how many horizontal pixels you have available on a mobile device. This is super...
Every time you call $(...) jQuery will create a new object. Because of this, comparing two jQuery collections with == will never...
jQuery plugin for equalizing the height or width of elements.
Tracekit is a JavaScript library that automatically normalizes and exposes stack traces for unhandled exceptions across the 5 major browsers...
A jQuery audio player plugin that is responsive and touch-friendly. The UI is css-only, no images used.
jquery-timing is a very useful jquery plugin that helps to remove lots of nested anonymous functions. It's API...
The basic idea is pretty simple: an element's height is accessible via the offsetHeight property, its drawn height via...
This works in all relevant browsers: document.activeElement You can use this in your Selenium steps, for example, to assert that...
David Walsh from Mozilla shows how to fire 'DOM changed' events from CSS. No need for JS to observe DOM...