Checkbox selected default on a number of issues

Related Tags:

  Moving online to see, for two people asked the same question, which is following a group checkbox out in the revised pages from the database, how to access the data to set the checkbox selected here or not: 
Checkbox selected default on a number of issues

  After submission of this data to the database format is like this: 1, 2, 3, 5, 8, 9, 12 strB assumption that the field is the assumption that the checkbox name = "A", below the js script is to achieve the selected default : 
  <script Language="JavaScript"> 
  <! -- 
  Var B ="<%= strB%> "; 
  With (document.form1) 
  ( 
  For (i = 0; i <A.length; i) 
  ( 
  TmpB = B.split ( ""); 
  For (j = 0; j <tmpB.length; j) 
  ( 
  If (tmpB [j] == A [i]. Value) 
  (A [i]. Checked = true; break;) 
  ) 
  ) 
  ) 
//-->
  </ Script> 

Related articles:

Web2.0 the crux of the matter is the integration of
  Am writing on the "social business" BLOG, some of their hidden thoughts on web2.0 dug out.    Web2.0 now, there is a confusion, I do not know whether there are others, but I really feel.    That is, "large and comprehensive" or "small but excelle...
FLASH website with search engine optimization
  [Abstract]: FLASH technology in web design and online advertising in the application is very extensive, some websites in the pursuit of beauty, and even with all the Home FLASH approach to the design, but there may be some FLASH website aspects of the browser, there is also another a congenit...
From the comics to animation: "dream" of the animation process
  According to comic adaptation of the soap operas on television cartoon "dream" has been completed and will be broadcast in this first report we carried out a.    First, the choice of comic works    Comics and animation are subject to universal love for the pop...
Flash8 font effects
  This tutorial learning all the source files package, which includes a category textscript    Click here to download the source files downloaded from here    I would like to create a type used to manage and create time-consuming and laborious look font effects of the pro...
Css in wonderful Expression
<style>   Tr (background-color: expression ((this.rowIndex% 2 == 0)? "Blue": "red"); ryo: expression (onmouseover = function () (this.style.backgroundColor = (this.style.backgroundColor ! = 'gray'? 'gray': ((this.rowIndex% 2 == 0)? "blue": &q...