Become hacker - Expekt bonuses - Skype - Car Insurance Quotes - Debt Consolidation

PDA

View Full Version : code help.


izlik
Aug 24th 2008, 12:45 pm
I was looking for some kind of code that will do the things that the the image bellow shows.
Several options, and when you press one there is different text in each window. i belive this could be javascript but im not 100% sure.

I have no idea what this is one is called so i hope someone know where i can find one or someting simillair.

http://img352.imageshack.us/img352/9299/scriptsn9.jpg

izlik
Aug 26th 2008, 5:48 pm
noone? :( .

KatieK
Aug 27th 2008, 4:31 pm
If the id of your textarea element is "textbox", you can do this in your HTML:

<input type="radio" value="three" name="group1"
onclick="document.getElementById('textbox').value='whatever';"/>

The onclick event simply changes the value of the existing textarea.