欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

論壇里點(diǎn)擊別人帖子下面的回復(fù),回復(fù)標(biāo)題變成“回復(fù) 24# 的帖子”

 更新時(shí)間:2009年06月14日 14:29:20   作者:  
論壇里點(diǎn)擊別人帖子下面的回復(fù),回復(fù)標(biāo)題變成“回復(fù) 24# 的帖子”
我的方法
復(fù)制代碼 代碼如下:

<a href="#" onclick="document.getElementById('body').focus();document.getElementById('title').value='回復(fù):<{$i+1}>樓';">回復(fù)</a>
document.getElementById('body').focus()//設(shè)置鼠標(biāo)焦點(diǎn)
document.getElementById('title').value//設(shè)置title的值 ,也可以document.getElementById('title').innertext

JQUERY
復(fù)制代碼 代碼如下:

function cmtreply(name)
{
$("#content").val('回復(fù)'+name+':');
window.location.hash="#cmt_form";
$("#content")[0].focus();
}

相關(guān)文章

最新評(píng)論