Own input at generated div
Own input at generated div
Hi, first a pic of my table: http://yfrog.com/ncdropdownp
How can i get the dropdown into the same div like the filter/search is? where the square is?
thats my table:
oTable = $("#example").dataTable( {
"bPaginate": false,
"bDestroy": true,
"sAjaxSource": "files/php/getJSON.php",
"aoColumnDefs": [{
"fnRender": function ( oObj ) {
return \'\';
i++;
},
"aTargets": [ 0 ]
}]
});
How can i get the dropdown into the same div like the filter/search is? where the square is?
thats my table:
oTable = $("#example").dataTable( {
"bPaginate": false,
"bDestroy": true,
"sAjaxSource": "files/php/getJSON.php",
"aoColumnDefs": [{
"fnRender": function ( oObj ) {
return \'\';
i++;
},
"aTargets": [ 0 ]
}]
});
This discussion has been closed.
Replies
http://datatables.net/forums/comments.php?DiscussionID=2824
$("div.action").html(asd
asd)? hmm sad but thanks it works :)
What you can do is put a slash just before the new line, or break it into multiple strings with the "+" contatination operator.
Allan