please help me

S

suma

hi all

i have form with html first question had radio buttons "yas" , "no"
i want when select "yes" appear the second question in the same page
befor press submit button
and when select "no" dont appear and the defult is no appear

how i can make this please tell me as soon as possible
 
T

The Natural Philosopher

suma said:
hi all

i have form with html first question had radio buttons "yas" , "no"
i want when select "yes" appear the second question in the same page
befor press submit button
and when select "no" dont appear and the defult is no appear

how i can make this please tell me as soon as possible

You embed the second question in a tag with an ID and make it hidden.

You attach an 'onclick' function to the first box to see whether or not
to unhide the second.


The actual code to do this is something I am not prepared to write for
you as I am a crap javascript programmer, and it would be full of syntax
errors.
 
S

Steve Swift

The said:
The actual code to do this is something I am not prepared to write for
you as I am a crap javascript programmer, and it would be full of syntax
errors.

Do you object if I use your quote in posts of my own? It fits me
perfectly; I know it can be done, and I know roughly how to do it, but
couldn't write the actual code to save my life! :)
 
I

Ian Hobson

The said:
The actual code to do this is something I am not prepared to write for
you as I am a crap javascript programmer, and it would be full of syntax
errors.

Wonderful line!

Sure beats "I'm not prepared to do your homework assignment for you!".

FOTFL

Ian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,147
Messages
2,570,833
Members
47,380
Latest member
AlinaBlevi

Latest Threads

Top