# DOM JS_Selector **Repository Path**: dabpop139/DOM-JS_Selector ## Basic Information - **Project Name**: DOM JS_Selector - **Description**: 模仿JQuery选择器,几年前研究的一个东西了,之前电脑配置不怎么好,发现IE下JQuery有占用内存过高的情况,当时想着只是用到一些JQuery的基本方法,所以就动手写了一个模仿JQuery选择器JS库$3。不知现在是否还有参考学习价值。 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2016-04-30 - **Last Updated**: 2022-07-11 ## Categories & Tags **Categories**: javascript-toolkits **Tags**: None ## README #DOM JS_Selector 模仿JQuery选择器,几年前研究的一个东西了,之前电脑配置不怎么好,发现IE下JQuery有占用内存过高的情况,当时想着只是用到一些JQuery的基本方法,所以就动手写了一个模仿JQuery选择器JS库$3。不知现在是否还有参考学习价值。 基本用法 ```javascript $3("#hidctrl").src; $3(this).parent("tr").find("span.result:0"); $3("#cart_prolist a.del8rec_link").each(function(){ $3(this).click(del8rec); stem=stem+",\""+$3(this).name+"\":true"; }); $3("#cart_prolist input.inputs|quantity").each(function(){ //Do someting }); $3.ajax("/aider/update.aspx", "act=add2wish&stand=add&uid=" + nid + "&rnd=" + parseInt(Math.random() * 1000), "html", recall_wish); $3.setcookie("status_shopnoteshow","noteshow_off"); $3.getcookie("status_shopnoteshow"); ```