samedi 30 mars 2019

When I try to use jQuery to update the html DOM

When I try to use jQuery to update the html DOM, the imformation is too long to display in a screen, but I cannot slide it down. This is my code:

window.onload = async function()
{
    $ = layui.$;
    let formcode=await eel.getForm()();
    $("#data").html(formcode);
    document.getElementById("data").innerHTML=formcode;
}

And this is my screenshot: enter image description here




Aucun commentaire:

Enregistrer un commentaire