$(function() { $("#mainHeader #navbar li[data-id='system']").addClass('active'); })