从C#调用javscript函数并获取返回值 [英] call javscript function from C# and get return value
本文介绍了从C#调用javscript函数并获取返回值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从C#调用js文件的函数,并将textbox1.text作为参数发送,并在另一个文本框中获取该函数的返回值
感谢
I want to call a function of js file from C# and send textbox1.text as a parameter and get return value of the function in another textbox
thanks
推荐答案
http://stackoverflow. com/questions/10431068/call-javascript-function-with-parameters-and-read-the-return-values-in-page-load [此处 [
http://stackoverflow.com/questions/11061247/how-to-call-a-javascript-function-having-return-value-in-c-sharp-codebehind[^]
http://stackoverflow.com/questions/10431068/call-javascript-function-with-parameters-and-read-the-return-values-in-page-load[^]
Many similar posts here[^]
这篇关于从C#调用javscript函数并获取返回值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文