Given the following:
$("#dataField").focus().autocomplete({
minLength:5,
cache:false,
source:"${request.contextPath}/ajaxActions/getdata",
select:function (event, ui) {
populateForm(ui);
}
});
How could I change the focus function such that it would place the cursor at the end of the input's current value?