You need to sign in to do that
Don't have an account?
prakash chaudhary
Change color of row in javascript ...
Please tell me how to set background color dynamically by javasrcript ?
Since I am creating table in page but I want that its even number row must have color light grey & odd number row must have color light blue.
Please tell me how to do it ?
SInce I tried to make it by taking total number of row by javascript & in condition give color to their row but could not get any effect so please help me.
All Answers
Try above code it will set background color