Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的视野中有一个隐藏的领域。我有我想作为逗号分隔值放入隐藏字段的字符串列表。我正在尝试访问隐藏字段。可能吗?还有其他最佳做法吗?
你有没有尝试过类似的东西
$('input[name=hiddeninputname]').val(theValue);
对于 asp.nethiddenfield使用这个:
hiddenfield
$("[id$=idofthehiddenfield]").val(commaseperatedvalues);