Is there a way for the
Use HTML5 with storage stored the value in a variable after clicking the submit button. you can do whatever you want with that variable
localStorage.setItem("user_selected_date", value);