Hi,
i was trying to call JQuery function from my backend C#.
the JQuery
function testtesttest(testurl,counter)
{
$("'#imgThumbnail"+counter+"').attr('ImageURL','"+testurl+"');
$('#imgThumbnail'+counter+').show();
}
backend C# code
int counter = 0;
while(counter<list.Count)
{
int imgcounter = 1;
string testurl = list[counter];
ClientScript.RegisterStartupScript(this.GetType(), "sc", "testtesttest("+testurl+", "+counter+")", true);
imgcounter++;
counter++;
}
I trying to pass 2 value into the function, but i just dont know how to assign the symbol " and '.