Tuesday, 6 August 2013

How to Select Even or Odd Elements in Jquery

In order to select odd element using Jquery we can use odd Selector
example:-$(’tr:odd’) – This selects odd rows of table
In order to select even element using Jquery we can use even Selector
example:-$(’tr:even’) – This selects even rows of table

No comments:

Post a Comment