This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am facing problem while updating css class definition dynamically on some condition.
For Internet Explorer:
Because there are 36 'span' elements & I want to affect only 15 out of them which have attribute class set to 'myclass'.
These spans have ids wiz ('message1', 'message2',... 'message15'). I want to avoid code duplication & want to reuse the code at different places for varying number of spans so using for loop will become a complicated issue. please help me.