如何使用jQuery获取控件的值 [英] how to get the values of controls using jquery

查看:69
本文介绍了如何使用jQuery获取控件的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net中有一个应用程序.我有几个控件,如文本框,下拉列表,复选框,我想使用jquery获取所有这些控件的值.我有表格标签.

请帮助我,我是jquery新手.

谢谢你.请给我一些代码段,这样我就可以理解

I have an application in asp.net. I have several controls like textbox, dropdownlist, checkbox i want to get the values of all those controls using jquery. i have form tab.

please help me i am new to jquery.

thank you. please give me some snippet so i can understand

推荐答案

如果您想了解新内容,我认为拥有良好的解释比代码段更重要. .使代码准备就绪并不是Codeproject的通常政策(尽管有很多文章,技巧和其他使用代码解决的问题).

网络是一个很好的起点(特别是对于一般性问题或广泛性问题).

请看一下: http://lmgtfy.com/?q=read+values+of + controls + with + Jquery [ ^ ]

并且在遇到困难,遇到问题或不了解某个特定方面时会毫不犹豫地回去问一些更具体的问题.

您应该阅读的另一件事是 http://www.codeproject.com/Messages/2922875/HOW-TO-ASK-A-QUESTION.aspx [ ^ ]
If you are trying to understand something new, I think it is more important to have a good explanation than a code snippet. To give code-ready to go is not the usual policy of Codeproject (although there is plenty of articles, tips and other solved question with code).

One very good point to start (specially with generic or wide question as yours) is the net.

Please have a look: http://lmgtfy.com/?q=read+values+of+controls+with+Jquery[^]

and don''t hesitate to come back and ask something more concrete when you get stuck, have a problem or don''t understand a particular aspect.

Another thing you should read is http://www.codeproject.com/Messages/2922875/HOW-TO-ASK-A-QUESTION.aspx[^]


这篇关于如何使用jQuery获取控件的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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