我正在尝试从锚链接向服务器发送值,并从从锚链接调用的函数中调用以下代码。虽然我能够触发部分刷新,但我得到一个错误......请任何指针......
var refreshId=dojo.query('[id$="testPanel"]')[0];
alert(refreshId.innerHTML)
alert(refreshId.id)
var mySubmitValue='whatYouWantToSendHere';
XSP.partialRefreshGet(refreshId, {
params: {
'$$xspsubmitvalue': mySubmitValue
},
onStart: function () {
alert('starting');
},
onComplete: function () {
alert('Complete');
},
onError:'myErrHandler( arguments[0], arguments[1] )'
});