JQuery从每个函数的select框中获取Selected值 [英] JQuery to get the Selected value from select box with each function
本文介绍了JQuery从每个函数的select框中获取Selected值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的专家。
我需要一个jquery来从选择框中获取所选值..
我在jquery中有一个每个函数。我需要在每个函数中得到结果...
我们无法改变每个函数....
请参阅 jsFiddle
请帮帮我....
谢谢Dileep
Dear Experts.
I need a jquery to get the selected value from a select box..
And i have a Each function in jquery. i need to get the result within that each function...
we can't to change that each function....
Please see the jsFiddle
please help me....
Thanks Dileep
推荐答案
你好dilzz,
请查看修改后的jsfiddle链接 - jsFiddle [ ^ ]。
如果您想要上述任何特定功能,请告诉我。
Thnx,
RelicV
Hi dilzz,
Please look at the modified jsfiddle link here - jsFiddle[^].
Let me know if you want any specific functionality for the above.!
Thnx,
RelicV
使用下面的代码来获取价值。
Hi,
Use below code to get value.
( this )。parent()。next()。find(' select') .val()
(this).parent().next().find('select').val()
查看更新的小提琴
http://jsfiddle.net/jNpat/5/ [ ^ ]
这篇关于JQuery从每个函数的select框中获取Selected值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文