How to pass the second dropdown list's selected value to another php form?
4 years ago
4 years ago
#1
Hello everyone, after watching DC's video on parent-child dropdown list - https://www.youtube.com/watch?v=lPtSUpNr_KQ, I would like to know how to pass my selected value from my second dropdown list to another php form after clicking the Submit button. After clicking the Submit button, I was redirected to the Home page (..../#). I tried checking on javascript & php examples but didn't find any that can help me. Any help will be great, thanks.
4 years ago
#2
Dan
4 years ago
#3
Hello Dan Q1) Where to check for onclick status when user click the Start Survey button after selecting the survey name Q2) How to pass this selected survey name value to another view form called start.php
4 years ago
#4
I am not so great on JavaScript. Events here https://www.w3schools.com/js/js_htmldom_events.asp document.getElementById("myBtn").onclick = Do Something; Event Listener here https://www.w3schools.com/js/js_htmldom_eventlistener.asp HTML DOM Event Object Reference
4 years ago
#5
Hello, In this function are you wanting to pass this value to the new view file? start_btn.