I'M calling a javascript function from code behind its working fine but when I'M calling another function from same code behind its not working,
我从其工作正常的代码调用javascript函数但是当我从相同的代码调用另一个函数后,它无法工作,
code mentioned below.
代码如下。
ClientScript.RegisterStartupScript(typeof(Page), "script", "copy1('" + Macid + "','" + JobName.Text + "','" + Process.Text + "','" + Issue.Text + "') ", true);
//test(index1);
javascript function copy1 is not working when I'M calling Test(int index); within same button click.
当我调用Test(int index)时,javascript函数copy1不起作用;在同一个按钮点击。
is there any another way to call both function from same click event?
有没有其他方法从同一个点击事件调用两个函数?
1 个解决方案
#1
0
I solved by my self .
我靠自己解决了。
under text function one more javascript function is calling so i removed that call from text function now its working.
在文本函数下,还有一个javascript函数正在调用,所以我从文本函数中删除了该调用,现在它正在工作。
#1
0
I solved by my self .
我靠自己解决了。
under text function one more javascript function is calling so i removed that call from text function now its working.
在文本函数下,还有一个javascript函数正在调用,所以我从文本函数中删除了该调用,现在它正在工作。