)<section><divclass="row"> <divclass="col-xs-12col-sm-12col-md-12col-">
84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
I want to change another div (id="new-text"< by clicking on the link container and using a JavaScript function (show-text()) /code>) content code>)
id="new-text"< by clicking on the link container and using a JavaScript function (show-text()) /code>) content code>)
show-text()
Mission Statement Letter-writing Peace Ideas Power Of Love
Changed code (working)
Insideonclick="show-text(), pass a valid parameter (matching your IF condition), such as "text-1" or "text-2"..
onclick="show-text()
should beSo does the rest.
And use===(strict equality check) in Script for comparison. CheckJs comparison operators
===
Changed code (working)
Inside
onclick="show-text()
, pass a valid parameter (matching your IF condition), such as "text-1" or "text-2"..should be
So does the rest.
And use
===
(strict equality check) in Script for comparison. CheckJs comparison operators