jewzaam/needless-compass-prototype — pull request #5 by samspot (2014-04-14 00:36:41+00:00)
Title: illustrate how to handle button clicks without a real form in leaflet

Checkout the doSomething() function, which shows how to get the form fields, as well as any data-* attributes on the button.