Site Notice
hello, world
Difference between revisions of "超星弹幕助手"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
Line 3: | Line 3: | ||
<div id=""></div> | <div id=""></div> | ||
<textarea id="RKLBChat_sendText"></textarea> | <textarea id="RKLBChat_sendText"></textarea> | ||
− | <button id="RKLBChat_sendMsg">发送评论</button> | + | <button id="RKLBChat_sendMsg" onclick="sendMsg">发送评论</button> |
+ | <script> | ||
+ | function sendMsg() { | ||
+ | var msg = $('#RKLBChat_sendText').val(); | ||
+ | if (msg === '') return; | ||
+ | $('#RKLBChat_sendText').val(''); | ||
</html> | </html> |
Revision as of 23:46, 21 February 2020
<html> <script src="https://common.wjghj.cn/js/ChaoXingDanMuZhuShou"></script> <div id=""></div> <textarea id="RKLBChat_sendText"></textarea> <button id="RKLBChat_sendMsg" onclick="sendMsg">发送评论</button> <script> function sendMsg() {
var msg = $('#RKLBChat_sendText').val(); if (msg === '') return; $('#RKLBChat_sendText').val('');
</html>