how can I get checkbox within select tag,and also I need to get values of select box when I select
I am using ajax to append data to select box
success: function(data)
{
var toAppend = '';
$.each(JSON.parse(data),function(i,o)
{
toAppend += '<option value='+o.invoice_id+'>'+ o.invoice_number+'</option>';
});
$('#client_invoices').append(toAppend);
}
//html
<select name="" id="client_invoices" class="form-control simple-select">
</select>
Can anyone help me on that please