PHP的下拉框值 [英] php drop down box value

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

问题描述

你好朋友,
我想获取第一个下拉框的值.我如何获得第一个下拉框的选定值.借助该值,我想绑定第二个下拉列表.例如,我的第一个下拉框是针对国家/地区的.我选择了印度.因此,处于第二下拉框状态的该选定项目的值是bind.
有人可以帮我吗?

hello friends,
I want to get the value of the first drop down box. how can i get selected value of the first drop down box. with the help of that value i want to bind the second drop down. for example my first drop down box is for country. and i selected the India. so the value of that selected item the second drop down box state is bind.
can any body help me?
thanks in advance.

推荐答案

您想举个例子吗?


我正在使用ajax绑定该下拉列表.对于绑定该框,我创建另一个页面以获取所选值的值,并根据该页面获取第一个下拉框的特定选中项的值.
i am use the ajax to bind that drop down. for bind that box i create the other page for fetch the value of the selected value and acccording to that page i get the value of that particular selected item of the first drop down box.


这篇关于PHP的下拉框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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