how to Pass data from one form to another page/form using javascript...

Recommended Answers

All 4 Replies

You could have javascript itself submit the form. Do you have a form element on the first page?

For example...

function formSubmit() {
Member Avatar

Normally there would be something on the server side, however you could use cookies or localstorage.

you need to use cookies to do that

This question is far too vague to truly answer. This could be a question about AJAX, submitting data then accessing it on any other pages within the same domain (cookies/local storage) or CORS (sending data via AJAX to other domains). We need a better question here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.