I want to displaying filled form data using javascript
I m working on single page application concept.
signup.html
-
- "utf-8" />
- >
-
Personal Information
- First Name:"txtfname" type="text" />
- Middle Name:"txtmname" type="text" />
- Last Name:"txtlname" type="text" />
- "btnnext" type="button" value="Next" />
signup.js
- //next button click event
- $(document).ready(function () {
- $('#btnnext').click(function (event) {
- $("#txtPersonalInformation").load("ContactInformation.html #txtContactInformation");
- });
- });
ContactInformation.html
-
- "utf-8" />
- >
-
Contact Information
- Email Id:"txtemailid" type="text" />
- Password:"txtpass" type="password" />
- Contact No:"txtcontactno" type="number" />
- "btnsubmit" type="button" value="Submit" />
ContactInformation.js
- $(document).ready(function () {
- $('#btnsubmit').click(function (event) {
- debugger
- $("#txtContactInformation").load("/signup.html #txtPersonalInformation"); //HERE I want to display the PersonalInformation filled form detail
- $("#txtContactInformation").load("/ContactInformation.html #txtContactInformation"); //HERE I m trying to display the ContactInformation filled form detail
- });
- });
when user filled the form data and i want to display there data?
Arvind KushwahaPosted May 13, 2020, 11:01 PM
rahul patilPosted May 14, 2020, 4:35 AM
rahul patilPosted May 14, 2020, 2:15 AM