我在动态选择方面遇到了麻烦 [英] I am having trouble with dynamic selections

查看:80
本文介绍了我在动态选择方面遇到了麻烦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初的问题是由于我的动态列表选项导致我创建的灯箱失败。所以脚本可以工作,但不是1005我也是如此。



所以我选择了两个国家,美国和英国,以及随后点击的任何一个国家下一个列表获得美国各州或英国县的列表。



问题在于,无论您选择哪个选项,都会列出所有这两个选项。我需要它只给你一个?



这是一个演示:



< a href =http://jsfiddle.net/uEEyT/1/> http://jsfiddle.net/uEEyT/1/ [ ^ ]

My initial problem was due to my dynamic list options where failing in a lightbox I created. So the script works, but not 1005 how I wish it too.

So I have a selection fo two countries, US and UK and whichever one is clicked ouy then in the next list get a list of either US states or UK counties.

The problem being that whichever option you select it just lists out all of both. I need it to only give you one or the other?

Here is a demo:

http://jsfiddle.net/uEEyT/1/[^]

推荐答案

这篇关于我在动态选择方面遇到了麻烦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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