1. 首页
  2. 数据库
  3. Oracle
  4. JS实现Enter键跳转及控件获得焦点

JS实现Enter键跳转及控件获得焦点

上传者: 2020-12-11 20:04:21上传 PDF文件 18KB 热度 20次
代码如下: //回车跳转 jQuery(document).ready(function () { //$(‘:input:text:first’).focus(); jQuery(‘:input:enabled’).addClass(‘enterIndex’); // get only input tags with class data-entry textboxes = jQuery(‘.enterIndex’); // now we check to see which browser is being used if (jQuery.browser.mozilla) { jQuery
下载地址
用户评论