Conditionally add CSS class based on ngRepeat properties in AngularJS

In this post I am going to explain, how we can conditionally add CSS class based on ngRepeat properties in AngularJS. This is my 12th blog in AngularJS series.

Continue reading

Advertisements

Styling alternate rows in HTML table using jQuery

In this post I am going to explain, how we can style the alternate rows of an HTML table using the power of jQuery. We can also do the same using the CSS fully but in case you prefer or are more interested to know, how to do it with jQuery and some CSS, here’s the demo. Let’s say we have a HTML markup like this:
Continue reading