0

I want the user to be able to select an option, which would change the value of an input text field. It should load the value from PHP+MYSQL depending on the option.

Basically, getting option value, pushing to a php file to get a return on value for the input text field

Any tips would be greatly appreciated.

1 Answer 1

1

You could use jQuery to send a post request with the selected option, and then return some JSON data which could then be placed into the input field.

http://api.jquery.com/jQuery.post/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.