Skip to main content
added 11 characters in body
Source Link
Badr Bellaj
  • 18.8k
  • 4
  • 59
  • 75

Here some more details. This is the corresponding HTML (without the comment tags of course:

Klik hier om te betalen -->
<tr><td><input type="text" name="bedrag" id="bedrag" placeholder="Bedrag in Ether"/><input type="text" name="addressMI" id="addressMI" placeholder="Adres van de leverancier"/><button id="BetalenRekeningMI">Klik hier om te betalen</button></td></tr>

The corresponding js is above and this is the solidity function is triggers:

function testmultiinput(uint256 bedrag, address klant) payable{ klant.transfer(bedrag); }

 function testmultiinput(uint256 bedrag, address klant) payable{
        klant.transfer(bedrag);
    }

Here some more details. This is the corresponding HTML (without the comment tags of course:

Klik hier om te betalen -->

The corresponding js is above and this is the solidity function is triggers:

function testmultiinput(uint256 bedrag, address klant) payable{ klant.transfer(bedrag); }

Here some more details. This is the corresponding HTML (without the comment tags of course:

<tr><td><input type="text" name="bedrag" id="bedrag" placeholder="Bedrag in Ether"/><input type="text" name="addressMI" id="addressMI" placeholder="Adres van de leverancier"/><button id="BetalenRekeningMI">Klik hier om te betalen</button></td></tr>

The corresponding js is above and this is the solidity function is triggers:

 function testmultiinput(uint256 bedrag, address klant) payable{
        klant.transfer(bedrag);
    }
Source Link

Here some more details. This is the corresponding HTML (without the comment tags of course:

Klik hier om te betalen -->

The corresponding js is above and this is the solidity function is triggers:

function testmultiinput(uint256 bedrag, address klant) payable{ klant.transfer(bedrag); }