<t:dgToolBar title="重新加载页面" icon="icon-print" url="#" funname="testReloadPage"></t:dgToolBar>
function testReloadPage(){
document.location = "http://www.baidu.com";
function testReloadPage(){
document.location = "http://www.baidu.com";
}
<script type="text/javascript">
本文介绍如何通过JavaScript编写函数来实现页面的重新加载功能,包括定义工具栏按钮、编写函数并应用到实际场景中。
1722





