在一个表中使用四个下拉列表,如国家,州,城市,密码。 [英] using four dropdown lists like country, state, city, pincode in one table.

查看:70
本文介绍了在一个表中使用四个下拉列表,如国家,州,城市,密码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个表格中使用四个下拉列表(国家,州,城市,密码)。我想根据国家选择一个接一个,状态必须显示,并根据州,城市必须显示,并根据城市,pincode必须显示。



一个表中的所有四列。

解决方案

你想要搜索的是帮助 DropDown CascadeCodeProject上有几篇与此相关的文章,正如您在Google Results中想象的那样。



她是一篇示例文章。 />
使用jQuery级联下拉列表 [ ^ ]



ps不要说它是粗鲁的!谢谢。


使用ajax



CascadingDropDown演示


jquery.country插件可能有帮助,是一个国家/州/城市下拉的插件,没有任何数据库和服务器端的使用编码。 http://oohm-software.github.io/jquery.country/

using four dropdown lists(country, state, city, pincode) in one table. i want to select one after other like based upon the country, states has to be displayed and based upon the states, cities has to be displayed and based upon the cities , pincode has to display.

ALL FOUR COLUMNS IN ONE TABLE.

解决方案

What you want to search for is help with "DropDown Cascade" there are several articles on CodeProject relating to this, and as you would then imagine tons of stuff in Google Results.

Her is one example article.
Cascaded dropdown using jQuery[^]

p.s. DONT SHOUT IT IS RUDE! Thanks.


use ajax

CascadingDropDown Demonstration


The jquery.country plugin may helps, is a plugin for country/state/city dropdown without any use of database and server side coding. http://oohm-software.github.io/jquery.country/


这篇关于在一个表中使用四个下拉列表,如国家,州,城市,密码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆