This php script http://www.pieter-ar...h...4&havens=15
produces 4 distances in the textboxes below the maps.
What I want is to give the user a short chance to verify if all the data are there before he clicks "Versturen".
That activates a new script which works fine once it gets the correct data, but I didn't copy it to my server.
The problem is I can't figure out how to read the data in the textboxes.
I have tried document.getElementById() which passes a mix of null and [object]
If it is any help, the [object] is always the last one I calculate.
So, my suspicion is that the id is replaced by the last one for all the distances.
My question: is there a way to read the data from the textareas with another method that is not dependant on the way the data were put there.
Sorry if this is all very confusing, but confused is what I am right now.
PS The textboxes do not show up in Opera, so they may not be rendered properly in other browsers either. For the purpose of the script this is irrelevant, so I couldn't care less. Just wanted to let you know since most of you use more advanced browsers.