`
testcs_dn
  • 浏览: 113920 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

JS获取中文拼音首字母,并通过拼音首字母快速查找页面内的中文内容

 
阅读更多

实现效果:

图一:


图二:


此例中输入的中文字符串“万万保重”,有三个字是多音字,所以alert对话框中显示的是多种读音的组合;

如何实现?

如何实现通过拼音首字母快速查找页面内的中文内容呢?

过程原理是这样的:例如要对一些人名进行快速查找,当页面加载完成后,对所有人名建立一个索引,生成拼音首字母与姓名的对应关系;然后监听键盘事件,当用户按下键盘时,根据键值得到按下的是哪个字母,然后遍历索引中是否存在相同的拼音首字母;

这里还实现了根据字母组合来查找的功能,原理是这样的:当用户按键时,我们记录下按键的时间,如果两个连续的按键间隔小于一秒,就认为是组合查询,把当前按键值加在之前的按键值之后,不多说了,上代码!

获取拼音首字母:

var strChineseFirstPY = "YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYR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STGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY";
//此处收录了375个多音字
var oMultiDiff={"19969":"DZ","19975":"WM","19988":"QJ","20048":"YL","20056":"SC","20060":"NM","20094":"QG","20127":"QJ","20167":"QC","20193":"YG","20250":"KH","20256":"ZC","20282":"SC","20285":"QJG","20291":"TD","20314":"YD","20340":"NE","20375":"TD","20389":"YJ","20391":"CZ","20415":"PB","20446":"YS","20447":"SQ","20504":"TC","20608":"KG","20854":"QJ","20857":"ZC","20911":"PF","20504":"TC","20608":"KG","20854":"QJ","20857":"ZC","20911":"PF","20985":"AW","21032":"PB","21048":"XQ","21049":"SC","21089":"YS","21119":"JC","21242":"SB","21273":"SC","21305":"YP","21306":"QO","21330":"ZC","21333":"SDC","21345":"QK","21378":"CA","21397":"SC","21414":"XS","21442":"SC","21477":"JG","21480":"TD","21484":"ZS","21494":"YX","21505":"YX","21512":"HG","21523":"XH","21537":"PB","21542":"PF","21549":"KH","21571":"E","21574":"DA","21588":"TD","21589":"O","21618":"ZC","21621":"KHA","21632":"ZJ","21654":"KG","21679":"LKG","21683":"KH","21710":"A","21719":"YH","21734":"WOE","21769":"A","21780":"WN","21804":"XH","21834":"A","21899":"ZD","21903":"RN","21908":"WO","21939":"ZC","21956":"SA","21964":"YA","21970":"TD","22003":"A","22031":"JG","22040":"XS","22060":"ZC","22066":"ZC","22079":"MH","22129":"XJ","22179":"XA","22237":"NJ","22244":"TD","22280":"JQ","22300":"YH","22313":"XW","22331":"YQ","22343":"YJ","22351":"PH","22395":"DC","22412":"TD","22484":"PB","22500":"PB","22534":"ZD","22549":"DH","22561":"PB","22612":"TD","22771":"KQ","22831":"HB","22841":"JG","22855":"QJ","22865":"XQ","23013":"ML","23081":"WM","23487":"SX","23558":"QJ","23561":"YW","23586":"YW","23614":"YW","23615":"SN","23631":"PB","23646":"ZS","23663":"ZT","23673":"YG","23762":"TD","23769":"ZS","23780":"QJ","23884":"QK","24055":"XH","24113":"DC","24162":"ZC","24191":"GA","24273":"QJ","24324":"NL","24377":"TD","24378":"QJ","24439":"PF","24554":"ZS","24683":"TD","24694":"WE","24733":"LK","24925":"TN","25094":"ZG","25100":"XQ","25103":"XH","25153":"PB","25170":"PB","25179":"KG","25203":"PB","25240":"ZS","25282":"FB","25303":"NA","25324":"KG","25341":"ZY","25373":"WZ","25375":"XJ","25384":"A","25457":"A","25528":"SD","25530":"SC","25552":"TD","25774":"ZC","25874":"ZC","26044":"YW","26080":"WM","26292":"PB","26333":"PB","26355":"ZY","26366":"CZ","26397":"ZC","26399":"QJ","26415":"ZS","26451":"SB","26526":"ZC","26552":"JG","26561":"TD","26588":"JG","26597":"CZ","26629":"ZS","26638":"YL","26646":"XQ","26653":"KG","26657":"XJ","26727":"HG","26894":"ZC","26937":"ZS","26946":"ZC","26999":"KJ","27099":"KJ","27449":"YQ","27481":"XS","27542":"ZS","27663":"ZS","27748":"TS","27784":"SC","27788":"ZD","27795":"TD","27812":"O","27850":"PB","27852":"MB","27895":"SL","27898":"PL","27973":"QJ","27981":"KH","27986":"HX","27994":"XJ","28044":"YC","28065":"WG","28177":"SM","28267":"QJ","28291":"KH","28337":"ZQ","28463":"TL","28548":"DC","28601":"TD","28689":"PB","28805":"JG","28820":"QG","28846":"PB","28952":"TD","28975":"ZC","29100":"A","29325":"QJ","29575":"SL","29602":"FB","30010":"TD","30044":"CX","30058":"PF","30091":"YSP","30111":"YN","30229":"XJ","30427":"SC","30465":"SX","30631":"YQ","30655":"QJ","30684":"QJG","30707":"SD","30729":"XH","30796":"LG","30917":"PB","31074":"NM","31085":"JZ","31109":"SC","31181":"ZC","31192":"MLB","31293":"JQ","31400":"YX","31584":"YJ","31896":"ZN","31909":"ZY","31995":"XJ","32321":"PF","32327":"ZY","32418":"HG","32420":"XQ","32421":"HG","32438":"LG","32473":"GJ","32488":"TD","32521":"QJ","32527":"PB","32562":"ZSQ","32564":"JZ","32735":"ZD","32793":"PB","33071":"PF","33098":"XL","33100":"YA","33152":"PB","33261":"CX","33324":"BP","33333":"TD","33406":"YA","33426":"WM","33432":"PB","33445":"JG","33486":"ZN","33493":"TS","33507":"QJ","33540":"QJ","33544":"ZC","33564":"XQ","33617":"YT","33632":"QJ","33636":"XH","33637":"YX","33694":"WG","33705":"PF","33728":"YW","33882":"SR","34067":"WM","34074":"YW","34121":"QJ","34255":"ZC","34259":"XL","34425":"JH","34430":"XH","34485":"KH","34503":"YS","34532":"HG","34552":"XS","34558":"YE","34593":"ZL","34660":"YQ","34892":"XH","34928":"SC","34999":"QJ","35048":"PB","35059":"SC","35098":"ZC","35203":"TQ","35265":"JX","35299":"JX","35782":"SZ","35828":"YS","35830":"E","35843":"TD","35895":"YG","35977":"MH","36158":"JG","36228":"QJ","36426":"XQ","36466":"DC","36710":"JC","36711":"ZYG","36767":"PB","36866":"SK","36951":"YW","37034":"YX","37063":"XH","37218":"ZC","37325":"ZC","38063":"PB","38079":"TD","38085":"QY","38107":"DC","38116":"TD","38123":"YD","38224":"HG","38241":"XTC","38271":"ZC","38415":"YE","38426":"KH","38461":"YD","38463":"AE","38466":"PB","38477":"XJ","38518":"YT","38551":"WK","38585":"ZC","38704":"XS","38739":"LJ","38761":"GJ","38808":"SQ","39048":"JG","39049":"XJ","39052":"HG","39076":"CZ","39271":"XT","39534":"TD","39552":"TD","39584":"PB","39647":"SB","39730":"LG","39748":"TPB","40109":"ZQ","40479":"ND","40516":"HG","40536":"HG","40583":"QJ","40765":"YQ","40784":"QJ","40840":"YK","40863":"QJG"};
//参数,中文字符串
//返回值:拼音首字母串数组
function makePy(str){
if(typeof(str) != "string")
throw new Error(-1,"函数makePy需要字符串类型参数!");
var arrResult = new Array(); //保存中间结果的数组
for(var i=0,len=str.length;i<len;i++){
//获得unicode码
var ch = str.charAt(i);
//检查该unicode码是否在处理范围之内,在则返回该码对映汉字的拼音首字母,不在则调用其它函数处理
arrResult.push(checkCh(ch));
}
//处理arrResult,返回所有可能的拼音首字母串数组
return mkRslt(arrResult);
}
function checkCh(ch){
var uni = ch.charCodeAt(0);
//如果不在汉字处理范围之内,返回原字符,也可以调用自己的处理函数
if(uni > 40869 || uni < 19968)
return ch; //dealWithOthers(ch);
//检查是否是多音字,是按多音字处理,不是就直接在strChineseFirstPY字符串中找对应的首字母
return (oMultiDiff[uni]?oMultiDiff[uni]:(strChineseFirstPY.charAt(uni-19968)));
}
function mkRslt(arr){
var arrRslt = [""];
for(var i=0,len=arr.length;i<len;i++){
var str = arr[i];
var strlen = str.length;
if(strlen == 1){
for(var k=0;k<arrRslt.length;k++){
arrRslt[k] += str;
}
}else{
var tmpArr = arrRslt.slice(0);
arrRslt = [];
for(k=0;k<strlen;k++){
//复制一个相同的arrRslt
var tmp = tmpArr.slice(0);
//把当前字符str[k]添加到每个元素末尾
for(var j=0;j<tmp.length;j++){
tmp[j] += str.charAt(k);
}
//把复制并修改后的数组连接到arrRslt上
arrRslt = arrRslt.concat(tmp);
}
}
}
return arrRslt;
}
//两端去空格函数
String.prototype.trim = function() {    return this.replace(/(^\s*)|(\s*$)/g,""); }

//查看拼音首字母缩写
function query(){
	var str = document.getElementById("txtChinese").value.trim();
	if(str == "") return;
	var arrRslt = makePy(str);
	alert(arrRslt);
}

建立索引代码:

//用于保存姓名首字母与姓名的键值对
var nameList = new Array();
//当页面加载完成后,初始化“nameList”。
window.onload = function(){
	//提取ID为“divName”中的所有姓名
	var div = document.getElementById("divName");
	if (div){
		var names = [];
		//兼容Firefox与Chrome;
		if (div.textContent){
			//通过replace(/\s/ig," ")将所有空白字符,包括空格、制表符、换页符等等都替换为空格
			names = div.textContent.replace(/\s/ig," ").split(" ");
		}else{
			names = div.innerText.replace(/\s/ig," ").split(" ");
		}
		for (var i = 0; i < names.length; i++){
			if (names[i] != ""){
				//获取拼音首字母缩写
				var arrRslt = makePy(names[i]);
				//将拼音与中文的对应关系添加到数组中
				nameList.push(new Array(arrRslt.toString(), names[i]));
			}
		}
	}
}

执行查找代码:

var timezoneOffset = 0; //记录按键时间
var keyCache = ""; //记录连续按下的字母组合

//当按下键盘字母时进行搜索
document.onkeydown = function(event){
	//通过“event.keyCode”得到按下的实际字母
	var key = String.fromCharCode(event.keyCode);
	var tz = new Date().getTime();
	//连续按键延迟计算,这里设置为1000毫秒,即1秒
	if (tz - timezoneOffset > 1000){
		//延迟超过一秒,则重新计时
		timezoneOffset = tz;
		keyCache = key;
	}else{
		//延迟在1秒范围内,则累加筛选字符
		keyCache += key;
	}
	
	//获取筛选内容长度
	var keyLength = keyCache.length; 
	var word = ""; //记录符合条件的中文字词
	//遍历索引,执行查找
	for (var i = 0; i < nameList.length; i++){
		//截取等长字符与筛选字母组合进行比较
		if (nameList[i][0].substr(0, keyLength) == keyCache){
			if (word == ""){
				word += nameList[i][1];
				//对查找结果高亮显示,第一个符合条件的结果要清除之前的高亮显示,所以这里第二个参数传递为:true
				highlight(nameList[i][1].substr(0, keyLength), true);
			}else{
				word += " " + nameList[i][1];
				highlight(nameList[i][1].substr(0, keyLength), false);
			}
		}
	}
	//在div中显示筛选字母组合
	var div = document.getElementById("divKeyCache");
	if (div){
		div.innerHTML = "筛选字母组合:" + keyCache;
	}
}

高亮显示代码:

function encode(s){
  return s.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([\\\.\*\[\]\(\)\$\^])/g,"\\$1");
}
function decode(s){
  return s.replace(/\\([\\\.\*\[\]\(\)\$\^])/g,"$1").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&");
}
//高亮显示“s”指定的字符,“clear”:是否清除之前高亮显示的内容
function highlight(s, clear){
  if (s.length==0){
    //alert('搜索关键词未填写!');
    return false;
  }
  s=encode(s);
  var obj=document.getElementsByTagName("body")[0];
  var t = "";
  if (typeof clear != 'undefined' && clear){
	//清除之前高亮显示的内容
	t=obj.innerHTML.replace(/<span\s+class=.?highlight.?>([^<>]*)<\/span>/gi,"$1");
	obj.innerHTML=t;
  }
  var cnt=loopSearch(s,obj);
  t=obj.innerHTML
  var r=/{searchHL}(({(?!\/searchHL})|[^{])*){\/searchHL}/g
  t=t.replace(r,"<span class='highlight'>$1</span>");
  obj.innerHTML=t;
}

function loopSearch(s,obj){
  var cnt=0;
  if (obj.nodeType==3){
    cnt=replace(s,obj);
    return cnt;
  }
  for (var i=0,c;c=obj.childNodes[i];i++){
    if (!c.className||c.className!="highlight")
      cnt+=loopSearch(s,c);
  }
  return cnt;
}
function replace(s,dest){
  var r=new RegExp(s,"g");
  var tm=null;
  var t=dest.nodeValue;
  var cnt=0;
  if (tm=t.match(r)){
    cnt=tm.length;
    t=t.replace(r,"{searchHL}"+decode(s)+"{/searchHL}")
    dest.nodeValue=t;
  }
  return cnt;
}

高亮样式:

<style>
.highlight{background:red;font-weight:bold;color:white; font-size:24px;}
</style>

HTML:

<body>
<form>
<table>
<td><span>请输入中文字符串:</span><input type="text" id="txtChinese" size="30" value="万万保重">
<input type="button" onclick="query()" value="查看拼音首字母缩写">
</td>
</tr>
</table>
</form>
<div id="divName">
        <span><a class="kb-uname-idx" href="#uid23">陈晓薇</a></span>
		<span><a class="kb-uname-idx" href="#uid23">张宁宁</a></span>
		<span><a class="kb-uname-idx" href="#uid23">李序</a></span>
		<span><a class="kb-uname-idx" href="#uid23">王昌凤</a></span>
		<span><a class="kb-uname-idx" href="#uid23">刘奇印</a></span>
		<span><a class="kb-uname-idx" href="#uid23">陈志鑫</a></span>
		<span><a class="kb-uname-idx" href="#uid23">黄志华</a></span>
		<span><a class="kb-uname-idx" href="#uid23">高跃华</a></span>
		<span><a class="kb-uname-idx" href="#uid23">李呈新</a></span>
		<span><a class="kb-uname-idx" href="#uid23">赵林</a></span>
		<span><a class="kb-uname-idx" href="#uid23">刘建</a></span>
		<span><a class="kb-uname-idx" href="#uid23">王缨</a></span>
		<span><a class="kb-uname-idx" href="#uid23">白锡康</a></span>
		<span><a class="kb-uname-idx" href="#uid23">张剑波</a></span>
		<span><a class="kb-uname-idx" href="#uid23">林峰</a></span>
</div>
<br />
<br />
<div style="font-size:14px; font-weight:bold;">通过姓名的首字母查找,保持页面拥有焦点,连续按下字母组合,例如:想查找“黄志华”,就可以连续按下字母:HZH</div>
<div id="divKeyCache">筛选字母组合:</div>
</body>
源码下载:http://download.csdn.net/detail/testcs_dn/7302851

分享到:
评论

相关推荐

    JS实现获取汉字首字母拼音、全拼音及混拼音的方法

    4. **首字母拼音**:从全拼音中提取出每个汉字的首字母,常用于快速查找和排序。 5. **全拼音**:输出每个汉字的完整拼音,包括声母、韵母和声调,如“北京”转换为“beijing”。 6. **混拼音**:将声母和韵母组合...

    汉字转拼音及获取首字母

    - 数据排序:在列表展示中文内容时,可以按照拼音首字母进行排序,如通讯录中的姓名排序。 - 拼音输入法:输入法软件中,需要将用户输入的汉字转化为拼音,以便找到对应的键位。 总的来说,汉字转拼音及获取首...

    JS汉字拼音首字母自动获取代码.zip

    【JS汉字拼音首字母自动获取代码.zip】是一个包含JavaScript实现的实用工具,它能够自动获取汉字的拼音首字母,并在用户输入汉字时将其添加到下拉列表中。这个功能对于那些需要快速查找或筛选以特定拼音开头的汉字的...

    JS获取中文拼音首字母并通过拼音首字母快速查找页面内对应中文内容的方法【附demo源码】

    本文实例讲述了JS获取中文拼音首字母并通过拼音首字母快速查找页面内对应中文内容的方法。分享给大家供大家参考,具体如下: 实现效果: 图一: 图二: 此例中输入的中文字符串“万万保重”,有三个字是多音字,...

    js输入汉字转拼音首字母插件

    "js输入汉字转拼音首字母插件"是一个专门解决这类问题的工具,它能方便地将汉字转换为对应的拼音,甚至可以进一步获取每个汉字的首字母。在城市排序等应用场景中,这种插件能够大大提高效率,避免因为汉字排序规则的...

    select2中文选项通过拼音或者首字母快速定位选项

    总结起来,要实现“select2中文选项通过拼音或者首字母快速定位选项”,主要步骤包括: 1. 预处理选项,生成拼音数据。 2. 自定义Select2的`templateResult`和`templateSelection`,实现拼音搜索逻辑。 3. 覆盖默认...

    按中文首字母筛选 js

    假设我们有一个包含中文名称的数组,我们遍历数组,使用上述库将每个名字的首字母提取出来,并根据拼音首字母进行排序。排序后,我们可以创建一个字母索引,包含所有不同的首字母及其关联的条目。这可以通过一个对象...

    jQuery按拼音首字母选择城市_城市选择网站页面_paysu1_

    标题中的“jQuery按拼音首字母选择城市”是指一个基于JavaScript库jQuery实现的交互式城市选择功能,它允许用户根据城市名称的拼音首字母快速定位并选择城市。这种功能常见于各类生活服务类网站,如58同城、携程等,...

    下拉框搜索 汉字 拼音 首字母

    这种功能在下拉框选项众多时尤为实用,因为它允许用户通过输入汉字、拼音或首字母快速筛选出匹配的选项。 首先,让我们理解下拉框(Dropdown)的基本概念。在网页设计中,下拉框通常用于展示一系列可选择的值,用户...

    下拉列表拼音首字母和汉字搜索

    这个功能允许用户通过输入汉字或拼音首字母快速筛选和查找所需内容,使得在复杂的下拉菜单中定位目标变得简单快捷。 在实现这个功能时,主要涉及以下几个技术点: 1. **拼音库**:首先,你需要一个可靠的中文字符...

    js汉字转拼音及汉字转拼音首字母

    另一方面,汉字转拼音首字母则是获取每个汉字的首字母,这种技术常用于快速检索或创建基于拼音的排序系统,如联系人列表排序。 在JavaScript中,由于JavaScript本身并不内置汉字转拼音的函数,我们需要借助第三方库...

    汉字转拼音首字母

    - **字典映射**:创建一个包含所有汉字及其对应拼音的字典,通过查找字典得到拼音首字母。例如,`pinyin_dict_firstletter.js`可能就是这样一个字典文件。 - **算法转换**:使用特定的算法,如基于Unicode编码的...

    pyfl一个轻量级20kb的Web端获取拼音首字母的库

    在教育软件中,可以利用Pyfl帮助学生进行拼音学习,通过首字母快速查找汉字。这些都充分展示了Pyfl的实用性与灵活性。 尽管Pyfl的主要标签是“JavaScript开发-其它杂项”,但其价值远不止于此。它能够帮助开发者...

    java 取汉字拼音工具包

    1. **全拼与简拼**:工具包通常支持将汉字转换为完整的拼音(全拼)以及首字母缩写(简拼)。全拼提供了每个汉字的完整发音,而简拼则常用于快速输入和查找,如搜索引擎的关键词处理。 2. **声调处理**:汉语拼音有...

    jQuery按拼音首字母选择城市.rar

    用户可以根据城市名的拼音首字母快速筛选和选择城市,大大简化了在大量城市数据中查找的步骤。 jQuery库以其简洁的API和丰富的插件,成为Web前端开发中的常用工具。在这个项目中,jQuery被用来处理DOM操作、事件...

    城市按拼音首字母排列列表Demo

    "城市按拼音首字母排列列表Demo"是一个典型的案例,它展示了如何通过编程技术将中国的城市按照汉语拼音的首字母顺序进行排序和展示。这个Demo通常用于数据展示、搜索优化或地理信息系统(GIS)的应用。 首先,我们...

    JS输入汉字转换成拼音首字母代码

    在JavaScript(JS)编程中,将汉字转换成拼音首字母代码是一种常见的需求,尤其是在实现诸如自动补全、拼音检索等功能时。这篇文档将详细介绍如何利用JS实现这一功能,并结合输入框、下拉列表等交互元素,创建一个...

Global site tag (gtag.js) - Google Analytics