I have been working on a project and developing a JavaScript framework. The original code is about 700 lines so I only pasted this line. The includes method doesn't work on Internet Explorer. Is there any solution for this?
var row_cells = tbl_row.match(/<td[sS]*?</td>/g);
row.Cells = new Array();
if (onRowBindFuncText != null) { /*Fonksyon tan?mlanma??sa daha h?zl? ?al??*/
var cellCount = 0;
for (i = 0; i < row_cells.length; i++) {
var cell = new Cell();
$.each(this, function (k, v) {
if ((row_cells[i]+"").includes("#Eval(" + k + ")")) {
cell.Keys.push(new Key(k,v));
...Code goes on
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…