Hi,
I try to add gcb [] in a link with ...&gcb={data:gcb}
but this is not that...?
Do you have any idea please?
Regards
Chris
I try to add gcb [] in a link with ...&gcb={data:gcb}
but this is not that...?
Do you have any idea please?
Regards
Chris
{data.join[,]:gcb} maybe
the problem is opening in a new link or getting the gcb value ? where do you use this code ?
getting the gcd but I solved this issue with js...
jQuery(document).ready(function($){
diplomas_btn = jQuery("#diplomas_btn");
diplomas_btn.on('click', function(){
check_list();
});
});
function check_list(){
var tbrows = new Array();
jQuery('input[name="gcb[]"]').each(function(){
if( this.checked ){
v = this.getAttribute("value");
tbrows.push(v);
}
});
listrows = tbrows.join(',');
console.log(listrows);
if(listrows.length){
console.log('ok');
strUrl = "https://your_url?event=your_event&tvout=view&gcb=" + listrows;
var win = window.open(strUrl, "Diplomas");
}
}
You need to login to be able to post a reply.