<a href="tbarticle.do?epaper=viewarticle&AutoID=${v.id}" target="_blank">
<span style="color: #C2151A;font-weight: bold;float:left;">
[${v.verName}] </span>
${v.title}
</a>
增加onclick,用js动态创建一个表单并添加到dom中,指定method为post,表单中动态插入你的参数,然后提交
window.prototype.postsubmit = function(url, data, name){
var tempForm = document.createElement("form");
tempForm.id="tempform";
tempForm.method="post";
tempForm.action=url;
tempForm.target=name;
var hideInput = document.createElement("input");
hideInput.type="hidden";
hideInput.name= "content"
hideInput.value= data;
tempForm.appendChild(hideInput);
document.body.appendChild(tempForm);
tempForm.fireEvent("onsubmit");
tempForm.submit();
document.body.removeChild(tempForm);
};
$('#name').on('click',function() {
window.postsubmit('tbarticle.do','epaper=viewarticle&AutoID=' + $(this).attr('vid'),'about:blank');
});
<a id="name" vid="${v.id}" href="javascript:" target="_blank">
<span style="color: #C2151A;font-weight: bold;float:left;">
[${v.verName}] </span>
${v.title}
</a>
你这个提交是get提交,所以能看到,你用post提交就看不到了