Click here to Skip to main content
15,891,785 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Pass the css value dynamically using LESS, It works fine in google chrome but not supported in firefox and ie[11](browser compatibility issue).

Consider the below screen shot code, That it works perfectly on google chrome but not supported by firefox and IE.[ie., CSS attribute backgroundcolor value is passed from javascript to less file, that the values received/ assigned by chrome but firefox it takes empty and similar to IE11 also]

please refer the screens:
code: http://s24.postimg.org/4aksi6sdx/code.png[^]
browser issue:
http://s8.postimg.org/ia9ki4nnp/Browser.png[^]
Posted
Updated 15-Dec-14 1:44am
v2
Comments
Thanks7872 15-Dec-14 7:01am    
There is nothing clear. Explain the issue with the code you have implemented till now. Use Improve question link above.
ravikpm 15-Dec-14 7:38am    
Hi Rohan,
Thanks for your valuable comments, The above mentioned code was worked fine in chrome but not supported by firefox and IE ie., (In less file - background color attribute value not applied)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900