I would like to call JavaScript function many time . I have tried like that
In Script
function changeIt(strgr , idx) {
//SomeCode
return;
}
In C#
protected void btn_Click(object sender, EventArgs e)
{
string strgr = 001;
for(int i=0; i<3; i++)
{
base.RunScriptBottom("changeIt(" + strgr + "," + i + ");");
}
}
But it call the script function only one time.
What could I do.
With regards