Answers for "input in javascript stackoverflow"

0

input in javascript stackoverflow

<script language="javascript" type="text/javascript">
    lol = document.getElementById('lolz').value;
    function kk(){
    alert(lol);
    }
</script>

<body>
    <input type="text" name="enter" class="enter" value="" id="lolz"/>
    <input type="button" value="click" OnClick="kk()"/>
</body>
Posted by: Guest on December-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language