Author: small wonton _ struggle Issue Date: December 29, 2000 Sometimes you want to use the client database on the page, but for compatibility with the first version of the browser does not support xml technology, so this made up of some js function of dml hope Interested friends discuss Function trform () {this.trrc = new array (); qrc = new array (); // Result this.currentrc = 1; // Current record pointer this.lastrc = 0; / / Last Record this.rclength = arguments.length; // field number this.trrc [0] = new array (); // field name for (i = 0; i
THIS.RCLENGTH; I ) {IF (this.trrc [0] [i] .indexof ("image")! = - 1) ImageIndex [N ] = i;} for (i = 1; i <= this.lastrc ; i ) {VAR preimage = new image (); preimage.src = this.trrc [i] [ii]; status = '.'}}} status = '; return true; } function item2index (item) {VAL = -1 for (i = 0; I ) {This.QRC [TEMP-1] [i] = this.trrc [k] [showitems [i]];}}}} returnim this.qrc;} [copyright belongs to this article and Ozo network Reprinted, please indicate the author and the source]