title: Tips and tricks to implement a javascript web-interface using HTML image maps
body: <p>I'd like to get some tips and tricks to implement a web-interface with JavaScript that would allow users to click on some predefined regions on a map and returns a list of the clicked regions when clicking on a submit button. This list will be then send to a server (for that I can use the HTTP "post" method).</p>
  
  <ol>
  <li><p>The first question is : how to define the regions on a map.
  I red about HTML image maps but it seems to be cumbersome as I'll have to extract the coordinates of each region. I was wondering if they would be a way to automatically generate this list from an image ?</p></li>
  <li><p>The second question is : how to store the list of clicked regions so that I can send it to the server when the user clicks on the submit button. I'm not too familiar with JavaScript so it will probably be an easy one for experienced JavaScript programmers ;-)</p></li>
  </ol>
  
  <p>Thanks</p>