SSISO Community

시소당

[TrustForm] 키보드 엔터키이벤트

반듯이 INIT위에 있어야 실행됩니다.

<script type="javascript" id="script_gg" ev:event="global-onChar">
    <![CDATA[
     var key_value  = model.getCurKeyValue();
     var sys_key_value = model.getCurSysKeyValue();
     
     if (key_value == 13 && (model.getFocus() == "input13" || model.getFocus() == "input14")) {
      searchSubmit();
     }
          ]]>
   </script>

1411 view

4.0 stars