Copy Form before sending Post in Html

0

How do I get the text of this form before sending it via post to another page?

<html>
    <div class="content-body">
        <div class="row">
            <div class="col-xs-12">
                <div class="wid-vectormap">
                    <div class="row">
                         <div class="col-xs-12 col-sm-9">
                                <textarea class="form-control" name="lista" id="lista" onkeyup="contar_total(this);" placeholder="CC|MESANO|CVV" class="form-control" rows="9">
                                </textarea>
                                ...
    
asked by anonymous 26.07.2018 / 05:20

1 answer

0

Use document.getElementById("lista").value

<textarea id="lista" onblur="alert(document.getElementById('lista').value)">
</textarea>
    
26.07.2018 / 06:39