I am trying to pass two variable using javascript but i dont really know the syntax
if(entity==3){
var month = document.getElementById('mymonth').value;
var program = document.getElementById('mylist').value:
location.href = "view_results.php?month="+month;
i only how to pass month but i cant figure out how to pass both month and program
thanks in advanced