Closed kalius closed 13 years ago
strange, couple questions 1) what version of fcbkcomplete do you use 2) browser
2.8.0 and chrome
2.8.0 has bug in public methods please update to 2.8.4
2.8.3 no more eval use public function addItem and removeItem fix (thanks to Yaron)
I am trying to add manuallay additem in fcbkcomplete.but trigger doesn't work function setval() { key1.value="ss"; values.value="2";
myObj.title = $("#key1").val();
myObj.value = $("#values").val();
$("#ddlregionsedit").trigger("addItem", myObj);
}
How do manually selected items in fcbkcomplete?
I am trying to mannually add items to dropdowns with this $("#select").trigger("addItem",[{"title": "test", "value": "test"}]);, but it doesnt work? i have select tag with id="select", but it doesn't working. i just copy&pasted this code.