Loading editor...
<TD>
<Input type = "text" name = "hstishchifhui" class = "codecode"
Style = "width: 100%" querytype = "always" codetype = "Hui"
Ondblclick = "code_codequery (this, 'hput', '0', 'y ');"
Onkeyup = "code_codequery (this, 'hput', '0', 'y ');"
Onchange = "code_codechange (this, 'hput', '0', 'y'); checkchartype (this, 2, 'shareholder ID type', false); changeno2 (this );"
Onblur = "checknoname (); changeno2 (this);">
</TD>
<TD>
<Input type = "text" name = "hstishchifhdid" class = "common"
Style = "width: 100%" maxlength = "18" onblur = "checkno2 ();">
</TD>
/* Type of shareholder certificate */
Function changeno2 (OBJ ){
VaR fieldindex = getelementorder (OBJ)-1;
FM. hstishchifhdid [fieldindex]. value = "";
}
/**
* Obtain the order of elements in the document with the same name as elements (starting from 1)
* @ Param field element
* @ Return refers to the order in which elements are transmitted in elements with the same name in the document (starting from 1)
*/
Function getelementorder (field ){
VaR I = 0;
VaR order = 0;
VaR elements = Document. getelementsbyname (field. Name );
VaR elementscount = elements. length;
For (I = 0; I <elementscount; I ++ ){
Order ++;
If (elements [I] = field ){
Break;
}
}
Return order;
}