I'm a front-end developer
My Website: passer-by.com
基于jquery的插件库 - 轮播/标签页/滚动条/下拉框/对话框/搜索提示/城市三级联动/日历_A set of widgets based on jQuery
Home Page: https://jquerywidget.com/
License: MIT License
通过这个提交表单,怎么获取中文名称。
新手前端没有用过任何插件
我现在需求是课程种类-》课程等级-》课程单元-》课程某一课;是这样的四个等级,课程种类下面有很多种,数学课,语文课,英语课,语文课下面很多个等级,level 1,level 2...,level下面有很多unit,unit1,unit2..,unit下就是lesson1,lesson2...我需要把我的数据变成什么样的才可以使用你这个多级联动呢?如果你把这个写成通用的,那就更棒了!别人想用只需要把数据组合成和你一致的格式,就可以直接套用。
博主,维护数据缺失很麻烦,希望能够更新一下
直筒子市是指该市级行政区下没有县级行政区,比如海南省儋州市,这种情况下第三级的下拉框并不会自动隐藏。
使用汉字设置仙桃市和潜江市等省级直辖市不能赋值,使用城市代码时可以。
怎么样让下拉默认为“请选择”
test nothing
<option value="" selected disabled style="display: none;"> - 请选择 - </option>
这种写法可以让用户未选择时,具有required属性的select依然会发挥作用,而不是把“请选择”当成一个选项。而且用户一旦选择后,“请选择”就会消失。
比<option value=""> - 请选择 - </option>
要好。
原来的:
if (typeof define === "function" && (define.amd || define.cmd) && !jQuery) {
我改为:
if (typeof define === "function" && (define.amd || define.cmd) ) {
就没有jquery 未定义的错误了。
我担心你的接口有时候会无法访问 想需要省市区json文件,你那有没有嘞?我的邮箱[email protected]
我把你的jquery-citys组件用在vue + iview的项目中,iview的input输入数据的时候会触发到了onChange事件.
城市三级联动不能ajax请求后在使用$("#city_field_s").citys({code: content.city});这样修改吗?前面已经定义好了,会报错Uncaught TypeError: $(...).citys is not a function
不好意思,写错了~谢谢指正哦
什么原因,显示空白,还要自己添加省市县数据吗?
如何调用callback函数?
现在有个需求是:搜索模块中,点击重置按钮,下拉框要重置选项。
例如:注册时选择了地区,数据库里保存了地区编码,然后在资料页想要显示用户数据中地区编码所对应的地区名称,最好是P标签方式。
您好
我發現這個郵政編碼,可能不正確
350000 福建 是正確
440000 廣東 正確是 510000
510000 四川 正確是 610000
好像有一些對,我還沒清楚去對
$('.citys').citys({province:'',city:'天津市',area:'静海区'}); 显示 天津市,无法显示区。
$('.citys').citys({province:'天津市',city:'静海区',area:''}); 显示 天津市和平区。
$('.citys').citys({province:'天津市',city:'',area:'静海区'}); 显示 天津市和平区。
这个怎么加图片呀?
下载的zip 包不能使用,文件加载不上
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.