I have a page that s derived from a master page. On this page, I have a hiddenfield ("hfUser"). How can I access this "hfUser" control and get/set its value using JQuery? I ve tried variants of this:
$(document).ready(function() {
var test = $("#hfUser").val();
alert(test);
});
但测试=未界定。 我猜想我会错过挑选人,但我不知道如何找到一个暗藏的地方。 任何想法?
增 编