Client CGI-implement backoffice of bbs with javascript and dhtml (2)
Source: Internet
Author: User
// The page is displayed, and the following tasks are performed on them. The following are all front-end javascript functions. Step 1: generate the option value of selCategory in the selection box based on the array aCategory in the window. onload event.
Function On_Load ()
{
// First generate the selCategory option
FrmManager. selCategoryName. options. length = 0;
For (var I = 0; I <aCategory. length; I ++)
{
Var newOption = document. createElement ("OPTION ");
NewOption. value = aCategory [I]. CategoryID;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service