How do I dynamically assign a value inside an HTML element?

Here you have an example what to add to your site-code-section…

$w.onReady(async function () {
    $w('#button1').onClick(()=>{ 
        $w("#html1").postMessage("LuisMetalKid");
 });

    $w('#button2').onClick(()=>{ 
        $w("#html1").postMessage("UCZTlGPEnQ66TFG0m6Wa3KFQ");
 });

    $w('#button3').onClick(()=>{ 
        $w("#html1").postMessage("loveradionetwork");
 });
});