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.
为什么我不能从此输入中获取值?见下图:
输入上的属性应该是value,而不是val。
value
val
而是使用:
$('#SortField').prop('value');
在你的 HTML 中应该是:
<input type="hidden" name="sortField" id="SortField" value="CT#" />