Click to See Complete Forum and Search --> : interaction between js and php in a form


andymnc
12-03-2003, 05:24 PM
hi everyone, i'm new here and a little nb.

I'm programming an application in php and need to integrate something javascript.

The main problem is this:
I've a form with 3 blocks:

1. a select box and a text box. Selecting a value in the select list I need the text box adjust its value itself.

2. another part, the same of 1, but when in 1 I select something from the list, i need that the select box here auto adjust itself, autoselecting a value (and updating the relative textbox)

3. a textbox that indicates the results between textbox1 and textbox2


The values of the 2 select lists are in 2 arrays.
the values those can be shown in the 2 textbox (1st and 2nd) are in 2 arrays.
The value of the 3rd is a sum of textbox1+textbox2


I don't really have an idea on how to solve this...

please help me,
Andymnc

Khalid Ali
12-03-2003, 07:56 PM
try writing code your self and then post here for a specific issue or error thayou might get

andymnc
12-04-2003, 09:10 AM
but the problem is that i'm a php programmer, so i don't know how to do this...
so i in need of help