如何将服务器端控件值传递到另一个页面上的客户端html head部分? [英] How to pass the server side controls values to client side html head section on another page?
本文介绍了如何将服务器端控件值传递到另一个页面上的客户端html head部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
实际上我想在服务器端控件的文本框中实现一个代码......
< asp:TextBox ID =Textheadrunat =server>和dis控制有Texthead.text =abc。
现在我想在d客户端检索dis服务器端字符串< html>< head> ....< / head> < / html
所以请告诉我如何将值从服务器端传递到客户端....希望你理解一个问题...
Anshul
hello to All,
Actually i wanna implement a code like... a string in textbox in server side control....
<asp:TextBox ID="Texthead" runat="server"> and dis control have Texthead.text="abc".
now i want to retrieve dis server side string in d client side <html><head>....</head></html
so please give me an idea how to pass values from server side to client side.... hope u understand a problem...
Anshul
推荐答案
anshul你必须使用javascript或jquery
查看我们这里
http://stackoverflow.com/questions/5039544/getting-textbox-value-in-javascript [ ^ ]
< a href =http://stackoverflow.com/questions/763745/how-to-get-text-box-value-in-javascript> http://stackoverflow.com/questions/763745/how-to-get -text箱价值功能于javasc ript [ ^ ]
问候......:)
anshul you have to use javascript or jquery
check it our here
http://stackoverflow.com/questions/5039544/getting-textbox-value-in-javascript[^]
http://stackoverflow.com/questions/763745/how-to-get-text-box-value-in-javascript[^]
regards...:)
这篇关于如何将服务器端控件值传递到另一个页面上的客户端html head部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文