Changing Css value with jquery You can change css value with jquery an example of this is below, you can change any css value with jquery so chnage it according to your need. by Nikhil Mangal September 13, 2014 HTML <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <div class="content">This is a sample content.</div> <a href="#" id="change">Click to change above div css</a> CSS .content{background:#ccc;} JavaScript $(document).ready(function(){ $('#change').click(function(){ $('.content').css("background-color","#FF0000"); $('.content').css("color","#FFF"); }); });