Home  >  Article  >  Backend Development  >  Using window_onload to implement select default selection_PHP tutorial

Using window_onload to implement select default selection_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:03:11743browse

Please refer to this program:


//$day day of the week, such as: Wednesday

$day=3;

?> ;





test








By analogy , using window_onload can cleverly realize the selection of some default items.
Hope it helps everyone.
Please accept it.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/316321.htmlTechArticlePlease refer to this program: ?php //$day day of the week, such as: Wednesday $day=3; ?html head meta http-equiv=Content-Type content=text/html; charset=gb2312 meta name=GENERATOR content=Micro...
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