html下拉框问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:21:59
Original
1202 people have browsed it

HTML

我要获取后台传过来的值,
对于普通text类型代码如下:
">
Copy after login
我是通过value属性进行获取的
但是如何是下拉框呢,怎么获取后台传过来的值呢?
代码如下:
Copy after login



回复讨论(解决方案)

没看懂你要说的意思 你是想通过text值 来判断选中下来列表吗

上面的是 input标签 可以实现 获取值 和传值功能
下面是 select下拉标签 如何接值?

就是在 修改时 获取当前选中的下拉


试试这样吧。

4楼 我是这么写的

				管理员权限																
Copy after login
 
但是在我 执行 返回(返回上一个界面)的时候,如果  有
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!