Hi,
in my application on the click event of check box ,i want add particular value to array
here is the code
var ids = []; $('body').on('click', '.chkbox', function () { var jj = $(this).closest('tr').children('td'); var bb = jj.eq(5).text(); ids.push(bb); });
this is working fine
my requirement is to change the array separator. now it is comma.
i want to change to semicolon
normally my array returns like this
jain-1,0,0,1,baiju-0,1,0,0
this is 2 elements in the array
i need the above to be like this
jain-1,0,0,1;baiju-0,1,0,0
i change a semicolon between 1 and baiju
how it is possible
Regards
Baiju