There are 3 sections of specific interest on my home page. What I want to do is set up a Javascript function called link Which ensures that 2 sections are hidden and the section on which the button was clicked is shown only.
Here's my code:
There are 3 sections of specific interest on my home page. What I want to do is set up a Javascript function called link Which ensures that 2 sections are hidden and the section on which the button was clicked is shown only.
Here's my code:
Javascript is not firing.
I know that this is not the most elegant (or necessary efficient) way to do this, so if someone can suggest a better way, then I have all the ears.
Right now, though, I would really like to do this work, but I do not see the problem.
In the Javascript, use the comparative double equal operator ( ==
), not equal to one, so you can specify the values in your if
statements change them Try and see that it works.
-
Get link
-
Facebook
-
X
-
Pinterest
-
Email
-
Other Apps
Comments
Post a Comment