想学一下下面这段代码中如何按下“复制题目”、“下一题”、“上一题”、“转到”。前两个比较重要,最后一个可能无法实现。以前按照input.id的方法在这里行不通,不知道为什么,求助。谢谢!<div class="tiebabox">
<div class="tieba">
<a href="javascript:void(0)" onfocus="this.blur();" class="facebook inp tip" onclick="go(0)" title="按键盘 → 进入下一题">下一题</a>
<a href="javascript:void(0)" onfocus="this.blur();" class="facebook inp tip" onclick="go(-1)" title="按键盘 ← 进入上一题">上一题</a>
<a href="javascript:void(0)" onfocus="this.blur();" class="green inp" id="btn_jieshi">本题解释</a>
<a href="javascript:void(0)" onfocus="this.blur();" class="facebook inp" id="btn_fav">收藏</a>
<a class="red inp" id="btn_copy">复制题目</a>
</div>
<div class="userinfo">
<div class="left">
答对:<span id="TrueNum">0</span> 题 答错:<span id="FalseNum">0</span> 题
正确率:<span id="TruePre">00%</span></div>
<div class="right tip" title="正确答题后跳转到下一题">
<input style="vertical-align:middle;" type="checkbox" name="AutoNextTmp" id="AutoNextTmp" value="1" title="正确答题后跳转到下一题"><label style="vertical-align:middle;" for="AutoNextTmp">自动下一题</label>
</div>
<div class="rightr">
共 <span id="quallcount">1</span> 题
<span class="tip" title="跳至指定的题 (本功能仅限于VIP用户使用)">转到<input type="text" id="tbtestindex" name="tbtestindex" Disabled class="uan">题</span>
</div>
</div>
</div>
|