根据输入的文本填充2个文本框. [英] Populate 2 textboxes based on text entered.

查看:53
本文介绍了根据输入的文本填充2个文本框.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要获取一个查询字符串已填充的文本框的值,该值基于也已由相同查询字符串填充的另一个文本框的值.

解决方案

<我认为您的问题比仅仅询问如何从文本框中获取值要难一些.如果不是这种情况,请根据我的理解(这是我肯定是错误的:P)...

字符串值= thePopulatedTextBox.Text;

虽然不是那么容易...

您的意思是查询字符串吗?因为查询字符串本身不会填充任何内容.您的意思是jQuery,情况是回发发生后您无法获取该值?


Hi ,
i need to get the value of a textbox that has been populated by a query string based on the value of another textbox that has also been populated by the same query string.

解决方案

I assume your question is a bit harder than just asking how to get a value from a textbox. If that''s not the case, here''s my answer based on what I understand (which I''m sure is wrong :P)...

String value = thePopulatedTextBox.Text;

It can''t be that easy though...

Do you really mean query string? Because a query string by itself does not populate anything. Do you mean jQuery and the situation is that you can''t get the value after the postback has occured?


这篇关于根据输入的文本填充2个文本框.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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