jQuery memory performance using addClass() vs css(). -
I have a grid layout of divs, that when the cursor runs on the div, this color changes I use jQuery So, I'm using the mouse center function. I can use
$ ('# id'). AddClass ('someClass'); or $ ('# someId'). CSS ('background', 'red');
I have received information about the performance of the speed between the two, but which method is better for any memory display, especially if you have more than 10,000 devices.
Comments
Post a Comment