selected永远被回到.

WBOY
Release: 2016-06-13 13:24:28
Original
883 people have browsed it

selected永远被返回...


这样下拉选项默认选中名称1,但是一旦改成名称2后希望返回value的20不成功,永远被返回selected所属的22怎么办好?怎么才能根据改变而返回相应的value呢

------解决方案--------------------


这个span标签是怎么回事?
------解决方案--------------------
怎么可能呢?除非你没选

PHP code
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