[英]How can I develop two call ajax by clicking two different button of same JSP page where controller is different?
[英]How can I load different jsp page on clicking the tab in extjs 4?
I have created 3 tabs in my home.jsp.
我想要的是单击选项卡,它加载另一个jsp(它也具有脚本)。 我用过
title: 'Home'
autoLoad: {
url: 'UserProfile',
script:true
}
}
此代码。 但是它只包含简单的文本。 脚本部分未加载。 如何正确加载脚本?
尝试这个
tabObj.update(responseText)
responseText: call a ajax call to "UserProfile"
title: 'Home'
autoLoad: {
url: 'UserProfile.jsp',
scripts:true
}
}
其“脚本”而不是“脚本”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.