我想将信息从Java脚本设置为asp.net ..... [英] i want set information from java script to asp.net.....
本文介绍了我想将信息从Java脚本设置为asp.net .....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将Java脚本中的信息设置为asp.net
例子
< script>
/*将文本框中的信息发送到Java脚本*/
</script>
< asp:textbox id ="txt" value =获取信息Java脚本"/>
i want set information from java script to asp.net
example
<script>
/* send information in textbox to java script */
</script>
<asp:textbox id="txt" value="get information java script" />
推荐答案
它非常简单,只需使用google,您就可以获取它.
在这里,
Hi,
Its very simple, just google you will get it.
Here it is,
document.getElementById('txtBox1').value = "yourvalue";
希望它对您有用.
Hope it works for you.
这篇关于我想将信息从Java脚本设置为asp.net .....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文