/jquery.defaultvalue

Paul Campell's jquery.defaultvalue jQuery plugin (now with tests!)

Primary LanguageJavaScript

Paul Campbell's jquery.defaultvalue.js

Home page

Notes about this fork

This is the result of a pairing session between Mark Myzk and myself (Larry Karnowski). We were just trying to see how far we could get on adding Jasmine tests to the tried & true defaultvalue plugin.

Additions

  • added a $("selector").defaultValue() camelcase alias.
  • added a test suite runnable via Jasmine-ruby gem
  • added this README

Running the tests

  1. from command line run: rake jasmine
  2. from your browser surf to: http://localhost:8888