+ 2
Is there any tag <a> in html that can pass a value to other html page?
I want to pass a value from dropdown list without submitting to an other html page...
8 Answers
+ 6
Itâs usually done with PHP sessions.
Or you can pass it into your url
index.html?size=30
If you donât use PHP the best solution would be local storage.
+ 1
Can you clarify with an example? I don't understand the whole passing-a-value-without-submitting goal. What's wrong with submitting?
+ 1
see I am coding to make a shopping site ...In this site I set a dropdown list that the user should select the size ...that form (dropdown list) doesn't have any submit button.the size which is selected by the user must pass to another html page and shown to the user.
+ 1
yes there is a button that is added to cart.that when you click on the button a modal is shown ...and also in that modal there is another button which links you to another page that the size is shown there.
+ 1
use ajax
0
how? can you refer me to an example?