-5

I am having 1000 tr in table.i want to find tr using classname in ie.what is Efficient way to find tr using classname in ie

Appu
  • 25
  • 7

1 Answers1

-1

You can use either DOM's native function getElementsByClassName('classname') or jQuery selector $('.classname') to find the target element.

See getElementsByClassName()
See selectors in jQuery

abhishekkannojia
  • 2,796
  • 23
  • 32
  • 4
    The **DOM**'s function, not JavaScript's. And answering rubbish, zero-effort, unclear, soon-to-be-closed-and-deleted questions isn't useful. – T.J. Crowder Dec 09 '15 at 11:21
  • 2
    `getElementsByClassName('.classname')` will look for elements with class `..classname` – A. Wolff Dec 09 '15 at 11:23