How to fetch and display the html form data using javascript Full explanation by Abhishek Chaudhary

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thank you for made my day.I just wanted it. U showed with error and the right one.Thats I like very much.

Virgo
Автор

Thank u soo soo much its help full.
Kal myjhy assignment submit krwana hy or apki vedio NY bhhht help thanks sir.

rubabmano
Автор

Thank you very much it's really working...

yaminibonde
Автор

I tried it does not display multiple write-in function in my be code. Last writeln function overwrite fist writeln function. What is the problem sir?

shashiThosar-dkdc
Автор

Sorry sir, how about checkbox and radio button? can you explain that

wahyurestupamuji
Автор

For me it is not showing details after pressing sumbit form can you please tell me solution
my code:
<html>
<head>
<script type="text/javascript">
function callvalues(){

var
var

document.writeln(uname);
document.writeln(pass);
</script>
</head>

<body>
<form onsubmit="callvalues()">
Name:<input type="text" id="uname" ><br>
Password:<input type="password" id="pass"><br>
<input type="submit" value="submit">
</form>
</body>

</html>

qbhrsmr
Автор

You store these values in single string variable then display. Otherwise it does not work

shashiThosar-dkdc
Автор

Mene Ye form Bnaya ha But Data SHow Nahi Ho Raha Hai Please Help Me

<div class="ragistration-form">
<form onsubmit="callvalu()">
<label>Name</label>
<input type="text" id="username"><br><br>
<label>Phone</label>
<input type="number" id="telphone"><br><br>
<label>Email</label>
<input type="email" id="emails"><br><br>
<input type="submit" value="Registration">
</form>

</div>

<script>
function callvalu(){
var name =
var phone =
var email =
document.writeln("Your info: <br>" "+name");
document.writeln("Your Phone: <br>" "+phone");
document.writeln("Your Email: <br>" "+email");
}

</script>

ArifKhan-rnsf