3级自动Jquery [英] Auto Jquery at 3 Levels

查看:63
本文介绍了3级自动Jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在寻找一个自动选择值的解决方案,从文本框中选择全选



等级1

(全选)





旁遮普邦

Sindh

俾路支省

Sindh



等级2

(全选)



ATTOCK

BAHAWAL NAGAR

BAHAWAL PUR

BHAKKAR

CHAKWAL

DERA GHAZI KHAN



等级3

(全选)



abcd

cdef



想象一下这个测试案例现在我可以看到第一个文本框,所以我可以选择4个中的任何一个省,只要输入Pun它将为我带旁遮普,这将显示第二个文本框,我可以选择不同数量的城市作为以及我也可以选择所有城市。它将带我到下一级,它将显示下一个类别,我可以选择下一级别的值。请建议我使用输入选项而不是选择值的解决方案。

Hi,

I'm looking after a solution of auto selection of values from the text box with having option of "Select All"

Level 1
(Select All)

Province
Punjab
Sindh
Balochistan
Sindh

Level 2
(Select ALL)

ATTOCK
BAHAWAL NAGAR
BAHAWAL PUR
BHAKKAR
CHAKWAL
DERA GHAZI KHAN

Level 3
(Select ALL)

abcd
cdef

Imagine this test case now the first text box will visible to me so I can select any province out of 4, as soon as Type in Pun it will bring Punjab for me, with this will display me the 2nd text box where I can select various number of cities as well as I can select All of the cities as well. it will take me to next level which will display the next category where I can select next level values. Please suggest me the solution with typing option instead of selecting values.

推荐答案

what i m looking for a solution of Multiple values using MVC.

The user at front end have various offices

in punjab, sindh, balochistan, KPK

The organization have 1 Main Head Offices in each of the above Provinces i.e. punjab, sindh, balochistan, KPK and than the same organzation have multiple Sub Offices in its Cities / Districts

I need a mechanism through which I can first select Main Head Office with respective to its sub Offices and than once its added I can add other Main Offices along with their Sub Offices. THe list list must give the option to select either single value or multiple values and it can also allow to select ALL cities


这篇关于3级自动Jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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