I need to call a JS function with a C# parameter.
This is inside a HTML table.
<td onclick="OpenWindow(<%= cbYear.SelectedValue%>, 2);return false;">
</td>
The JS function:
function OpenWindow(annee, mois) {
//Call existing global function to obtain a reference to the window manager
var oManager = GetRadWindowManager();
//Show a particular existing window
oManager.open(null, "RadWindow1");
}
the problem is simply it does not work anymore with paramaters( it works perfectly without)... Does anyone know why, thanks in advance
<td>) is set torunat="server"