I am trying to change the background color of tabs in jquery.ui tabs. Normally it works by default color. My code is
<div id="tabs">
<ul>
<li><a href="#1"><span>Home</span></a></li>
<li><a href="#2"><span>Home</span></a></li>
</ul>
<div id="1">
<p>MY DATA</p>
</div>
<div id="2">
<p>MY DATA 2nd</p>
</div>
</div>
<script>
$( "#tabs" ).tabs();
$('#tabs').bind('tabsshow', function(event, ui) {
$('#tabs').css('background-color', '#231f20');
});
</script>
Thanks in advance