创建一个Java脚本,该脚本具有用于下拉菜单中选定更改的代码 [英] creating a java script which have a code for selected change on drop down
本文介绍了创建一个Java脚本,该脚本具有用于下拉菜单中选定更改的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好先生
我创建了一个下拉列表,其中包含城市的价值
bt,因为我更改下拉菜单中的值不会更改相关项目
所以请使用Java脚本
hello sir
i create a drop down which take the value of city
bt as i change the value in drop down it don''t change related item
so plz give me code for that by using java script
推荐答案
为我提供相关代码,您正在谈论级联下拉列表.
为了实现相同目的,您想知道的方法是使用 XMLHttpRequest .
看起来 ^ ]和 ^ ]了解示例数量.
You are talking of Cascading dropdown.
The way you want to know in order to achieve the same is using XMLHttpRequest.
Look here[^] and here[^] for number of examples.
这篇关于创建一个Java脚本,该脚本具有用于下拉菜单中选定更改的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文