var App = {
openWindow : function(url) {
var date=new Date();
var dateTimes=date.getDate();
window.open(url+"a"+dateTimes)
}
}
页面中使用:
<a href="javascript:App.openWindow('@{showNewsDetail(newMsg.id)}')" >详情</a>
var App = {
openWindow : function(url) {
var date=new Date();
var dateTimes=date.getDate();
window.open(url+"a"+dateTimes)
}
}
页面中使用:
<a href="javascript:App.openWindow('@{showNewsDetail(newMsg.id)}')" >详情</a>