[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/chat/gui_sockets/ -> chat_gui_sockets.js (source)

   1  scroll_active = true;
   2  function empty_field_and_submit() {
   3      var cf   = document.getElementById('sendform');
   4      var inpf = document.getElementById('inputform');
   5      cf.chat_msgidnr.value = parseInt(cf.chat_msgidnr.value) + 1;
   6      cf.chat_message.value = inpf.chat_message.value;
   7      inpf.chat_message.value = '';
   8      cf.submit();
   9      inpf.chat_message.focus();
  10      return false;
  11  }
  12  function setfocus() {
  13      document.getElementsByName("chat_message")[0].focus();
  14  }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1