I have a select element with a few options for currencies, and then a <p> element at the bottom that currently prints the current exchange rate for USD to another currency. What I’m trying to do, is upon .change() of the select element value, I want to insert the value of the select element into a PHP script, and then re-.load() the <p> element.
How can I pass a value from jQuery .val() to a PHP script?
You might want something like:
Of course, you might want to use more specific selectors.