[jQuery] Append "Area" to Map
I have been trying to append a freaking Area tag to a MAP tag for about 2 hours now...
The data argument is always a string.
function(data)
{
$('#s7Image').attr('usemap','');
$('#MapContainer').empty();
thisMap = '<MAP ID="thisMap2" NAME="thisMap2"></MAP>';
$('#MapContainer').append(thisMap);
$('#thisMap').append(data);
$('#s7Image').attr('usemap','thisMap2');
}
Is there something obvious that I'm missing here? Any thoughts would be greatly appreciated.
Jimmy G