Home › Forums › CSS › Replacing text by clicking a button › Re: Replacing text by clicking a button
October 22, 2012 at 12:00 am
#112369
Participant
Digs disco
`Was born in the 70s`
Grew up in a vicious part of town
Reads mathematics textbooks to relax
Begins the day with a hundred push-ups
Was attacked by cockroaches after shooting a lizard
`Is a vegetarian`
`Was born in the 60s`
Didn’t use a computer until 2012
Is a completely self-taught musician
Often sleeps with his guitar next to him
Has played on a freezing stage lit by a single naked bulb`
`Only some of the above is true.`
JQuery:
$(‘.showtrue’).click(function() {
$(‘.false’).hide();
});