call a JQuery function from code behind in C#
I want to call this JQuery function from C# code behind but it is not work
Here is the JQuery function
function showDialog(id, title) {
$(id).dialog({
modal: true, minWidth: 600, title: title
});
$(id).parent().appendTo($("form:first"));
}
and here is the code behind which i use
ClientScript.RegisterClientScriptBlock(this.GetType(), "myfunction",
"$(document).ready(function(){showDialog('#editCustomer','äÍÏíË ãÚáæãÇÊ
Úãíá');});", true);
But it is not work
No comments:
Post a Comment