我有一个问题,我想访问以前页面值的控件。我知道我可以使用 postbackurl 但我必须使用 OnClientClick 属性,因为我必须调用 javascript 方法并根据我的 url 更改的标准。下面的方法称为 OnClientClick 属性。此页面名称 Calculator.aspx
function redirectSellPage() {
var type = getParameterByName('type');
if (type == 'test') {
window.location.href = "Change.aspx?PageType=a";
} else if (a == null || a == "") {
window.location.href = "Change.aspx?PageType=b";
} else {
window.location.href = "Change.aspx?PageType=c";
}
}
我想访问 Change.aspx 中的 Calculator.aspx 控件值。我怎样才能做到这一点。