Demo Click on the state to see the result
Results
Click on a state
HTML
<div id="map" style="width: 350px; height: 250px;"></div> <div id="clicked-state"></div>
Javascript
$('#map').usmap({ // The click action click: function(event, data) { $('#clicked-state') .text('You clicked: '+data.name) .parent().effect('highlight', {color: '#C7F464'}, 2000); } });