I am using html and javascript for a simple application. I made a dropdown list on one page say "homepage.html" I want that the value selected from the dropdown be passed to a new page say "newpage.html" and appear in a text area there. I don't want to use php etc. plz NOTE that i am not going to upload it on internet. These are just going to be offline pages.
i will deeply appreciate any help.
Asad
Asad__
0
Newbie Poster
Recommended Answers
Jump to PostYou would need to use cookies for this purpose. When the drop down on your page is selected, you can set the required value in the cookie, navigate to that page and read the value from that cookie when the second page loads to populate the text box.
For …
Jump to Post> should the code for cookie be written in a separate cookie file or should it be written in
> one of the two files that pass and receive data.The code for cookie management would come in both the HTML documents; in the first one for writing to …
All 5 Replies
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Asad__
0
Newbie Poster
Asad__
0
Newbie Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Asad__
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.