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.net のhiddenfield場合、これを使用します。
hiddenfield
$("[id$=idofthehiddenfield]").val(commaseperatedvalues);