芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/mod/chat/gui_sockets/chat_gui_sockets.js
scroll_active = true; function empty_field_and_submit() { var cf = document.getElementById('sendform'); var inpf = document.getElementById('inputform'); cf.chat_msgidnr.value = parseInt(cf.chat_msgidnr.value) + 1; cf.chat_message.value = inpf.chat_message.value; inpf.chat_message.value = ''; cf.submit(); inpf.chat_message.focus(); return false; } function setfocus() { document.getElementsByName("chat_message")[0].focus(); }