im using the following javascript function
function showUser(cats1,cats2,nam_cat)
{
document.getElementById("eq").style.display='';
document.getElementById('eq').innerHTML = '<TABLE cellpadding="3" class="b bc r w4"><TR class="ln g"> <TD class="l"><B>'+nam_cat+' Schemes</B></TD> <TD><A HREF="#" onclick="AlphaSort(\'scheme_1_month\',\'+cats1+\',\'+cats2+\',\'+nam_cat+\')">1 mth</a></TD> <TD>3 mth</TD> <TD>6 mth</TD> <TD>1 yr</TD> <TD>3 yr</TD> <TD>5 yr</TD> <TD>Inception</TD> <TD>NAV</TD></TR>'+sc_nms+'</Table>';
document.getElementById("all").style.display='none';
}
}
but when iam alerting the data in AlphaSort function then it displays the name as it is i.e. "+cats1+" . My values are coming right upto the calling but at the time of calling these values doesnot get passed to the respective function .What is the error in my code of calling this function??????