I have bridge_id
. How can I concatenate the single quotation in JavaScript?
Javascript code:
$('input[type=checkbox][name=print_check]:checked').each(function(i){
print_ids = print_ids+','+$(this).val();
});
Now it's appearing like this:
('B51622,D63766,J7473838,K884474,Y838383')
But I want it like this:
('B51622','D63766','J7473838','K884474','Y838383')
How can I generate a single quotation mark in JavaScript?