$(function(){ // $('.navbar-left li:nth-child(9)').html("Luxury Market Trends"); $('.nav li:nth-child(9) a').attr('target', '_blank'); $('.navbar-left .inverse-dropdown li:nth-child(9)').html("Medina"); });