ivaynberg/select2 — pull request #879 by astax-t (2013-02-18 12:45:12+00:00)
Title: Support for ajax data with <select> element

One more attempt to fix the inconsistency of the API. This patch allows using ajax requests with element instead of hidden input.

This is an updated previous pull request #624 and it also addresses #279