I'm using http://www.outsharked.com/imagemapster and I'm wanting to extract the selected areas and format in to xml, this would ideally be on submit.
The below on click returns the selected areas and places the text into a span
$("#show_selected").bind("click", function (e) {
e.preventDefault();
$('#selections').text($("#body_map").mapster("get"));
});
The html for the above...
<div>
<a id="show_selected" href="#">Click here to show selected items:</a>
<span id="selections"></span>
</div>
Thanks in advance.