PageSourceSearch

http://www.polymer.cn/js/jquery.cascadingselect.js

js polymer.cn collected 2026-10-01 11:54:45 UTC 671 bytes, 1 lines download raw bytes

1jQuery.fn.CascadingSelect = function(target,url,options,endfn){$.ajaxSetup({async:false});if(target[0].tagName != "SELECT"){ throw "target must be SELECT";} if(url.length == 0) {throw "request is required"; } if(options.parameter == undefined){ throw "parameter is required";}this.change(function(){var newurl = "";urlstr = url.split("?");newurl = urlstr[0] + "?" + options.parameter + "=" + $(this).val() + "&" +urlstr[1];target.FillOptions(newurl,options);if(typeof endfn =="function"){ endfn();}});};jQuery.fn.AddOption = function(text,value,selected,index){option = new Option(text,value);this[0].options.add(option,index);this[0].options[index].selected = selected;}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.