kingofzeal
Newbie
Posts: 1
Registered: 3/17/2008
Member Is Offline
|
| posted on 3/17/2008 at 07:45 PM |
|
|
Word relationships
I'm trying to build a script with a slider, but in addition to the number the slider represents, I also want a word to describe the number, like in
stages of life:
0-4 would be "Baby", 5-12 would be "Kid", 13-19 would be "Teenager", etc. To this end, I've built a short PHP script which would take a number
passed to it, and echo the category the number represents. This script would be reloaded into the current page via XML (preferably on an onchange
event) so, as you're scrolling it, it you would see the words change where necessary.
The problem I'm coming up on is trying to pass the value of the slider (or the input box, which also has the slider's value) onto this PHP
script.
Any recommendations/suggestions?
|
|
|
|