Home >Backend Development >PHP Tutorial >php selectradio和checkbox默认选择的实现方法详解_PHP

php selectradio和checkbox默认选择的实现方法详解_PHP

WBOY
WBOYOriginal
2016-06-01 12:05:16967browse

CheckBox

这是扩展yibing的select默认选择的实现方法
复制代码 代码如下:


radio单选框的默认选择实现
复制代码 代码如下:
>空白
>出让
>划拨
>集体

checkbox 复选框的默认选择实现
复制代码 代码如下:
>家 具
name="fujia_chuju" type="checkbox" value="chuju" >厨 具
name="fujia_woju" type="checkbox" value="woju" >卧 具
name="fujia_TV" type="checkbox" value="TV" >电视机

Statement:
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