ivaynberg/select2 — pull request #275 by jamezilla (2012-07-28 02:16:37+00:00)
Title: data attribute support for simplifying ajax select boxes

I added some small enhancements to make using ajax easier. Now you can optionally specify the url, and text of the select box in data attributes directly on the input tag.

```

```
I only added the data-text support to the single box implementation. I'd be happy to update the documentation, but it's not checked into the repo.

Excellent library, by the way!

Thanks,
James