harvesthq/chosen — pull request #606 by pfiller (2012-05-02 23:00:28+00:00)
Title: Allow text strings to be set by data attributes or initialization parameters

Default text for placeholder and no results now can be set two different ways: via the appropriate ``data-`` parameter and via an option on initialization. Addresses #602, #12.

For no results text:

````html

````
or
````javascript
$(".chzn-select").chosen({ no_results_text: "No results found" });
````

For placeholder (aka default) text:

````html

````
or
````javascript
$(".chzn-select").chosen({ placeholder: "Choose an option" });
````

These changes have not been tested in Firefox or IE yet.