Read the web page form, content, whether can be read as EXCEL files, can be caused by vertical and horizontal orientation, such as A3, etc., reads the specified CELL? Novice, thanks
CodePudding user response:
Not as number of EXCEL, or after you find a TABLE element, according to the general way to read his.childnodes attribute, either in the cells, reference the js code
function numberCells () { Var count=0; for (i=0; I & lt; Document. All. Mytable. Rows. Length; I++) { for (j=0; J & lt; Document. All. Mytable. Rows (I) cells. Length; J++) { Document. All. Mytable. Rows (I) cells (j) the innerText=count; count++; } } }