Coder Social home page Coder Social logo

tri_select's Introduction

tri_select

插件名称:多种地址数据三级联select by:y

用的是模拟select ,因此可以自定义样式 地址选择插件(针对了xml json js 三种不同种类的数据分别有三种不同的js) /views/index.ejs

头部文件 <!doctype html>

<title>地区选择插件</title> <script language="javascript" type="text/javascript" src="js/jquery.min.js"></script>

1、xml数据和json /public/data/location.xml /public/data/location.json

需要请求xml数据(请求触发自button),然后根据引用的不同js分别处理 /public/js/tri_select_xmldata.js /public/js/tri_select_jsondata.js

2、js地址数据 /public/data/location.js /public/js/tri_select_jsdata.js 需要同时引用两个js,数据在前

安装nodemon ,用nodemon app 同步调试。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.