How can I select datatables items? I have tried stuff like:
$("select").change(function () {
a开发者_运维百科lert('changed!');
});
but I see no results. I also tried by name but I cannot interact with these elements. I would like to interact directly with the select and the search box.
Thank you!
Try wraping it in $(document).ready function,
$(document).ready(function(){
$("select").live('change',function () {
alert('changed!');
});
});
精彩评论