检测JQ代码部分bug!DOCTYPE htmlhtmlhead title网址收藏夹title meta charset=UTF-8 link rel=stylesheet href=stylecss script src=httpscodejquerycomjquery-360minjsscript script src=scriptjsscriptheadbody h1网址收藏夹h1 div
缺少一个闭合的括号,导致代码出错:
$('#search-input').on('input', function() { var keyword = $(this).val().trim().toLowerCase(); if (keyword !== '') { $('#url-table tbody tr').hide(); $('#url-table tbody tr').filter(function() { return $(this).text().toLowerCase().indexOf(keyword) > -1; }).show(); } else { $('#url-table tbody tr').show(); } }); // 添加一个闭合的括号
原文地址: https://www.cveoy.top/t/topic/bmVw 著作权归作者所有。请勿转载和采集!