[已解决]如何从服务器端获取客户端更改的值 [英] [Solved] How to get client side changed value from server side

查看:79
本文介绍了[已解决]如何从服务器端获取客户端更改的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在从客户端更改文本框的值.我想从服务器端通过一个属性值(属性返回文本框的值).文本框为只读.

如何获取更改后的值.

更新:
由OP自己解决.

Hi,
I am changing the value of a textbox from client side. I want the value from server side throuhg a property(property returns the value of text box). The text box is read only.

How can I get the changed value.

UPDATE:
Solved by OP himself. Posted as a comment.

推荐答案

使用隐藏字段存储文本框的值.隐藏字段可以从客户端和服务器端进行访问.
Use hidden field to store value for the textbox. Hidden field can be accessed from client side as well as from the server side.


这篇关于[已解决]如何从服务器端获取客户端更改的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆