javascript - getelementbyid vs index -
In my intranet web app there is a table of those items, which is currently used to select the line ID On selection, the choice is 5-10 selection / second rate due to the nature of ASCIN nature, some discrepancies can be a reason of time and it is very difficult to properly coordinate.
The question is by selecting index by fast (via eq tag in jquery) selection from ID (via getElementByID) ?
I did some tests and showed that the ID is slightly faster, but I thought I would ask the community for confirmation.
I think that despite your conclusions, JLEF has been made up of JavaScript, although I do not know anything To answer this question, jquery is essential.
Javascript boils over a layer vs raw javascript and in itself Javascript will always be king in this contest.
Comments
Post a Comment