<result name="deleteReload" type="redirect">
/views/common/comment_commentListByCpid?page.pageNo=${page.pageNo}&flag=${#request.flag}
</result>
document.getElementById("flagId").value = flag ;
var flag = document.getElementById("flagId").value;
<script type="text/javascript">
$(document).ready(function(){
getComment('1');
});
function getComment(flag){
var commentShow = document.getElementById("commentShow");
$.post("${uiviews}/comment_currentUserComment",{"flag":flag},function(data){
commentShow.innerHTML=data;
document.getElementById("flagId").value = flag ;
});
}
</script>
/views/common/comment_commentListByCpid?page.pageNo=${page.pageNo}&flag=${#request.flag}
</result>
document.getElementById("flagId").value = flag ;
var flag = document.getElementById("flagId").value;
<script type="text/javascript">
$(document).ready(function(){
getComment('1');
});
function getComment(flag){
var commentShow = document.getElementById("commentShow");
$.post("${uiviews}/comment_currentUserComment",{"flag":flag},function(data){
commentShow.innerHTML=data;
document.getElementById("flagId").value = flag ;
});
}
</script>