@@ -3,6 +3,6 @@
"version": "3.3.2",
"main": ["select2.js", "select2.css", "select2.png", "select2x2.png", "select2-spinner.gif"],
"dependencies": {
- "jquery": ">= 1.4.4"
+ "jquery": ">= 1.7.1"
}
@@ -31,6 +31,6 @@
"docs": "http://ivaynberg.github.com/select2/",
"download": "https://github.com/ivaynberg/select2/tags",
- "jquery": ">=1.4.4"
+ "jquery": ">=1.7.1"
@@ -739,7 +739,7 @@ the specific language governing permissions and limitations under the Apache Lic
optionToData: function(element) {
if (element.is("option")) {
return {
- id:element.attr("value"),
+ id:element.prop("value"),
text:element.text(),
element: element.get(),
css: element.attr("class"),