Posted by Ken in Melbourne Australia on 07/23/05 14:57
SpaceGirl wrote:
>> I have a page that has some radio buttons on it
....
>> I realize this would be trivial by using a script but I'd like to do
>> it without a script (to accomodate "scriptless" users).
>>
>> Is there any way to do this?
>>
>> TIA
>
> No it cannot be done. Anything that changes the content cannot be done
> without *some* sort of scripting
....
> HTML is "dumb". Once it is rendered that's it. You can do anything else
> to it without scripting as it's just a page full of text codes in reality.
Cannot be done??? Emmm!! I'm a great believer in never
saying cannot.
If we look at the question it says that we are trying to
accommodate "scriptless" users. Therefore we can assume
that the meaning of script is script running on the client.
Now this may not be the greatest as it means some delays
but couldn't you do it with a program on the Server.
User presses what looks like a radio button. This activates
form output to the server program. Server program resends
page with the text field updated.
Fairly easy program in php on the server I would think.
An HTML question in this is how to get the form to output
back to the host as soon as a radio button is pressed.
Couldn't we replace the form radio buttons with a group of
Submit buttons which have been created to look like radio
buttons?
I haven't tried any of this so maybe there are problems here
that I don't know about. Can anyone tell me if this would
work or if there is a problem with it. Better still, tell
me if you actually get it going!
Ken
in Melbourne
[Back to original message]
|