using jqery combo plugin with dropdown created with ajax
I am using jquery combo plugin which lets me type in dropdown box to filter the list.
to enable the plugin I need
- $(document).ready(function(){
- $("select.jquery-combo").sCombo();
- });
initially when my page loads there is no combo box, onclick of a link I add the combo box to the page using ajax
the above function works when the combo is present in the page it does not work if I add the combo box with partial update to page , please advice how I can make this work when added through ajax?
can I use the jquery live function here ?