|
Posted by Martin on 07/23/05 15:40
On Sat, 23 Jul 2005 21:57:31 +1000, Ken in Melbourne Australia
<ken@mira.net> wrote:
>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
Ken -
Your approach was exactly what I had in mind if I couldn't figure out
how to do it on the client side. In fact, my next question was going
to be, "how do I get a radio button to submit the form (without using
scripting)?".
The page in question is already being generated by a PHP script so
adding this functionality would be relatively easy.
I'll let you know how it goes.
Thanks.
Navigation:
[Reply to this message]
|