<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>JS联动下拉框</title><script language="javascript" >/* ** ====================================** 类名:CLASS_LIANDONG_YA
本文在 http://www.cnblogs.com/darrenji/p/3606703.html(感谢博主的分享)基础上加入全国各省市,从文件中读取全国省市县,组成省市联动的选择标签 在Model里定义Province 和 City public class Province { public int ID { get; set; } public string Name { get; set; } } public class City { public int ID { get; set
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>My JSP 'mylist_liti.jsp' starting page</title> <script language="javascript"> var cateArray = new Array(); cateArr
iview是个好东西,今天第一次试用,用来做了一个app,但是在安卓5.1各种报错啊,头痛的是不知道具体哪行代码错了,总是报错undefined is not a function. 倒腾了半天,原来是iview的select中用了Array.find.array.findIndex方法.原来浏览器版本低了,不兼容这些JavaScript特性.果断的给打上补丁就好了 if(typeof Array.includes == 'undefined'){ Array.prototype.include
Scripts/Category.js //Jquery三级类别联动 $(function () { BindCategory(); }) function BindCategory() { var $txtCategory = $("#txtCategoryId"); var _selectId = ["selBigClass", "selSmallClass", "selThreeClass"]; for (var i =