66 940
Assignments Done
99,1%
Successfully Done
In October 2018

Answer to Question #3616 in AJAX | JavaScript | HTML | PHP for Michael

Question #3616
How do I create a hyperlink with text that will open (or display) a list <ul> below, using <onClick> tags, when selected; then when selected again will close the list?
Expert's answer
example function hiddenLayer() { document.getElementById(&quot;descr&quot;).style.visibility = &quot;hidden&quot;;
}
function showLayer() {
document.getElementById(&quot;descr&quot;).style.visibility = &quot;visible&quot;;
}
click me!!Some text; here you can put your list

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions