JS hanya mengimplementasikan fungsi lompatan pilih: kode adalah sebagai berikut
<! Doctype html> <html> <head> <itement> </itement> </head> <body> <div> <pect> <option href = "http://jichang.gongchang.cn/pro =" htttp: "htttpon/hronk. bubut </pection> <option href = "http://jichang.gongchang.cn/"> mesin bubut biasa </tiption> <option href = "http://jichang.gongchang.cn/"> lathe ordiner </option> <option> <option/ordiny </optich. <option href = "http://jichuang.gongchang.cn/brand/"> bubut putar </tiption> </ pilih> </div> <script type = "text/javascript" src = "../ js/jquery-1.11.min.min.js"> </script> <crips = "TEPA =" {SCRIPT = "JSOP/JSCRIP/TEKS/JSEK/TEKS/TEKS/TEKS/TEKS. $ ('body'); $ body.on ('ubah', 'pilih: have (opsi [href])', function (e) {var _this = $ (this), _href = _this.find ('opsi:/</</</href'); </html>