本文介绍了使用jquery / javascript检索Multichoice表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个sharepoint自定义列表,其中我有一个multichoice值字段。我想使用jquery / javascript获取在其中选择的值。

I have a sharepoint custom list in which I have a multichoice value field. I want to fetch the values selected in it using jquery / javascript.

该字段如下所示:

<table id="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceTable" cellspacing="1" cellpadding="0"><tbody>
<tr><td><span title="Other" class="ms-RadioText"><input id="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceOption_0" type="checkbox"><label for="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceOption_0">Other</label></span></td></tr>
<tr><td><span title="ABC" class="ms-RadioText"><input id="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceOption_1" type="checkbox"><label for="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceOption_1">ABC</label></span></td></tr>
<tr><td><span title="BCD" class="ms-RadioText"><input id="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceOption_2" type="checkbox"><label for="Purpose_7a84a51a-9a6f-484b-bf08-400c1b954435_MultiChoiceOption_2">BCD</label></span></td></tr></tbody>
</table>




如何检索在multichoice表字段中选择的项目?


How to retrieve the items selected in multichoice table field ?

推荐答案

var myVariable =

var myVariable =



这篇关于使用jquery / javascript检索Multichoice表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 00:49