When you need to add a event listener to hundreds of elements, this might slow down the browser. An alternative...

When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.

vadikom.com

With this plugin, you can create a scalable tooltip by just using a single background image for the tooltip body...

nickstakenburg.com

Prototip allows you to easily create both simple and complex tooltips using the Prototype javascript framework. Please note: "Permission to...

jqueryui.com

This will eventually be integrated into jQuery UI with the multiple: true option, but right now this is the way...

Use this if you want to show or hide part of a form if certain options are selected or boxes...

ubuntuforums.org

Keyboard layout reverting to US on (every) reboot Cause: I found the same problem, but only on my wife...

regular-expressions.info

You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...

traitsjs.org

traits.js is a minimal, standards-compliant trait composition library for Javascript.

github.com

PaintbrushJS is a lightweight, browser-based image processing library that can apply various visual filters to images within a web...

businesswire.com

DENVER--(BUSINESS WIRE)--MPEG LA announced today that its AVC Patent Portfolio License will continue not to charge royalties for...

bitbucket.org

String manipulation extensions for the Underscore.js javascript library.

github.com

Currently not possible as the linked .htc file contains JavaScript which is not explicitly called. The developers are working on...

prototypejs.org

For example, to send a form and populate a preview div with the response. $('content_form').request({ parameters: { 'preview': "1...

javascriptcompressor.com

Compress and obfuscate Javascript code online completely free using this compressor.

In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...

Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...

For arrays of objects, uniq does not work as expected, since it uses strict equality. So [[1], [1]].uniq() == [[1...

To run a single test file: rake test:units TEST=test/unit/post_test.rb rake test:functionals TEST=test/functional/posts_controller_test.rb rake test:integration TEST...

makandra dev

tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html

jqueryElement.is(':checked')

makandra dev
rdoc.info

Ruby Rails Any gem

When you include a non-existing Javascript file, you probably won't notice it during development. But with caching active...

makandra dev
github.com

Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...