Problem with ui combobox event handler
Hi,
First of all I'm quite new to jquery ...
I'm having trouble setting event handler on combobox.
Here is my code
Js
- function update_autocomplete(event,ui) {
alert("Udpate complete !");
}
- $("#s_start").combobox();
$("#s_start").autocomplete({
select: function(event,ui){
update_autocomplete(event,ui);
}
});
Html
- <select id="s_start">
<option>Maschen</option>
<option>Malmo</option>
<option>Dortmund</option>
</select>
I also tried
.bind( "autocompleteclose", function(event, ui)
{...
});
but nothing works...
Any help would be very kind...
Best regards.