<select> and autorefilling text input
Posted: Thu Nov 13, 2003 10:58 am
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
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