Edit in JSFiddle

<table width="100%">
  <tr>
    <td>
      <h1>Item A</h1>
      <h2 data-amount="10" data-currency="USD">$10.00</h2>
    </td>
    <td>
      <h1>Item B</h1>
      <h2 data-amount="20" data-currency="EUR">€20.00</h2>
    </td>
    <td>
      <h1>Item C</h1>
      <h2 data-amount="30" data-currency="GBP">£30.00</h2>
    </td>
  </tr>
</table>
<button onclick="dbip.convertCurrencies('h2')">Convert</button>

<script src="https://cdn.db-ip.com/js/dbip.js"
	data-api-key="p6bcac47ae71f0285cb6343d9697e56e41a2cb92">
</script>