|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||||
|
|||||
|
OnChange with sending value!
Hello I have a selection box with articals(like computer, boat, airplane) and I want if somebody select an item the next page loads with more info about the selected item. I have allready a peace of code but its not working right. Can somebody help me or know the solution!
Thanxx Bjorn neutcomp@hotmail.com php Code:
|
|
#2
|
|||
|
|||
|
RE: OnChange with sending value!
hi,
I think you have to write this self.location.href = 'index.php?ID='+ ID; and in you index.php you have to get the parameter ID and to do what you want with it |
|
#3
|
|||||
|
|||||
|
RE: OnChange with sending value!
Sad but thrue Its not working!
Just try it and you will see the error message! I have changed the names just for more visibility! php Code:
|
|
#4
|
|||||
|
|||||
|
RE: OnChange with sending value!
I updated your code and must act a little better :
php Code:
I always pass the form when acting on a form field, using this.form syntax, which is the most compatible with the browsers (Neither 'all', nor 'layers'...) Second thing: I use location.replace to load another page Hope It Lps |
|
#5
|
|||
|
|||
|
RE: OnChange with sending value!
Create it works fine know!
I was so close but also so far a way! hehe thanxx Cya Bjorn |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > OnChange with sending value! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|