This is the implementation of the Select default selection for the extended yibing
Copy CodeThe code is as follows:
Value= "1" > Residences Value= "2" > Office Value= "3" > Business Room Value= "4" > Plant Value= "5" > Warehouse Value= "6" > Plots Value= "7" > Complex building Value= "8" > Farm Value= "9" > Business House Value= "Ten" > Hotel Restaurant Value= "One" > School
Radio The default selection implementation of the Radio box
Copy CodeThe code is as follows:
> Blank
> Sell
> Transfer
> Collective
default selection implementation of the CheckBox check box
Copy CodeThe code is as follows:
>Furniture
Name= "Fujia_chuju" type= "checkbox" value= "Chuju" >Kitchenware
Name= "Fujia_woju" type= "checkbox" value= "Woju" >Bedding
Name= "Fujia_tv" type= "checkbox" value= "TV" >Tv
These form fields work together to modify some database records and keep the original records as they were added!
Select Selects by default, select gets selected
Well, I have to admit, my JS is how the dish, just can understand a few lines of code are sometimes difficult, such as today to solve the front-end Select default selection of the problem it took me nearly half an hour, finally found this code to solve the select to get the selection is very simple, The selection of the HTML select with this JS to solve or is very effective, select is selected this solution I think it is worth to keep and share with friends. The code is as follows:
Copy CodeThe code is as follows:
Hope to help you
http://www.bkjia.com/PHPjc/321946.html www.bkjia.com true http://www.bkjia.com/PHPjc/321946.html techarticle This is the implementation method of the Select default selection for the extended yibing copy code code as follows: Select Name= "wuyeleixing" size= "1" option? PHP if ($myrow [wuyeleixing]==1) Echo ("selected");? Value ...