Page 1 of 1

<select> and autorefilling text input

Posted: Thu Nov 13, 2003 10:58 am
by vertigo
Hello
I have a select field in which i have options from my database. Moreover i have several input text fields. And i want to have appriopriate data loaded from my database in those text field's when i choose option (select field).
I was thinking about onChange function of select field, but i have problem:
how can i "update" those fields using php from onChange function ?
Do i have to create identical php page which "takes on input" some parameters and put them into those text fields ?
How can i do it ?
What is the best solution ?

Thanx for help

Posted: Sun Nov 16, 2003 10:37 pm
by m3rajk
what your talking about requres talking to the server and submitting data.


remember, anything you do client side must ALREADY HAVE ALL THE DATA NECESSARY TO WORK.