"Display html form value"
Bootstrap 4.0.0 Snippet by ayaz11244

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Display html form value</title> </head> <body> <br /> <br /> <center> <input type="text" value="" id="disp"/> <button onclick="abc()" >Display</button> <p id="dis"></p> </center> </body> </html>
function abc(){ var dis=document.getElementById('disp').value document.getElementById('dis').innerHTML=dis; }

Related: See More


Questions / Comments: