![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Problem: I have asigned a number (34) in javascript to ANB10 then i want to submit with: INPUT NAME = "totale prijs" TYPE = "HIDDEN" VALUE=ANB10 but when I submit the form I see on my mail: totale prijs ANB10 !! instead of : totale prijs 34?? HOW come and what is the solution? Thanks jan |
#3
| |||
| |||
|
|
do it all with JS. form.totaleprijs.value=ANB10 jan wrote: Hi, Problem: I have asigned a number (34) in javascript to ANB10 then i want to submit with: INPUT NAME = "totale prijs" TYPE = "HIDDEN" VALUE=ANB10 but when I submit the form I see on my mail: totale prijs ANB10 !! instead of : totale prijs 34?? HOW come and what is the solution? Thanks jan |
#4
| |||
| |||
|
|
I tried this: SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" ANB10=88 form.formpje.totaleprijs.value=ANB10 /script but then: "form not defined" the NAME of the form is: formpje. |
#5
| |||
| |||
|
|
jan wrote: I tried this: SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" ANB10=88 form.formpje.totaleprijs.value=ANB10 /script but then: "form not defined" the NAME of the form is: formpje. Try this instead: document.formpje.totaleprijs.value=ANB10; -- Bryan Field-Elliot http://netmeme.org |
#6
| |||
| |||
|
|
I tried: But ERROR anser: document.formpje.totaleprijs is empty or no object. What next?? |
#7
| |||
| |||
|
|
jan wrote: I tried: But ERROR anser: document.formpje.totaleprijs is empty or no object. What next?? What next, hmmm..Well, this looks suspect: INPUT NAME = "totale prijs" TYPE = "HIDDEN" VALUE=ANB10 Take out the space in the field name, like this: INPUT NAME = "totaleprijs" TYPE = "HIDDEN" VALUE=ANB10 -- Bryan Field-Elliot http://netmeme.org |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |