Forum Moderators: coopster

Message Too Old, No Replies

Radio Button

         

agashka

4:03 pm on Jun 18, 2005 (gmt 0)

10+ Year Member



Hi everyone , im new here and im not SO good at php and that , or html

what i want to do , is when someone click a radio button , a text will load up at the bottom at the page , without the whole page be reloaded, i ave 0 idea how do it , just the readfile maybe...

tanks for any replay , and sorry for my small knowledge

lobo235

6:47 pm on Jun 18, 2005 (gmt 0)

10+ Year Member



If you don't want the page to reload then you will be stuck using Javascript to display the text down below. PHP runs on the server side so the page would have to reloaded. Make sense?

Blackie

7:07 pm on Jun 18, 2005 (gmt 0)

10+ Year Member



Indeed. JS is the option, combined with CSS it will give you what you want.

agashka

7:12 pm on Jun 18, 2005 (gmt 0)

10+ Year Member



:/
me noob dont know how to do this!
i know about variable and basic php stuff , and alot html
but nothing else!

mcibor

9:06 pm on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Write your problem here on the javascript forum:

[webmasterworld.com...]

And welcome to WebmasterWorld!

Best regards
Michal Cibor

madpenguin2

2:54 am on Jun 19, 2005 (gmt 0)

10+ Year Member



Blackie is right. A little css and javascript will do the job. Put the text you want to show when the radio is clicked into a <div>. Then use the onClick event of the radio button to toggle the status of the div between visible and not visible...

Brett