www.tutorialspoint.com Forum Index
Register FAQMemberlistUsergroupsTutorials PointLog in
Reply to topic Page 1 of 1
Replace dashes with other text
Author Message
Reply with quote
Post Replace dashes with other text 
I’m trying to replace a dashed line with an answer after a “click here” prompt. Here’s an example:

1) Find the principal parts of the verb “drive” by filling in the blanks below. Click here to check your answer.

I _____ now. (Present tense)
I _____ in the past ( past tense)
I have ______ every day. (Past participle)

After “Click here” is clicked, the above will be changed to:

I drive now. (Present tense)
I drove in the past ( past tense)
I have driven every day. (Past participle)

Is there a way to do this with javascript/scriptaculous? I’m building an instuctional site on English grammar. I’d appreciate some help.

Thanks,
Mike

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum