jquery - Showing a hidden link upon clicking another link -
i have page show 2 graphs, different information in them, depending on link clicked @ top of page (adding variable in address line).
when clicking link, want have button appear below graphs, adding option download entire database.
i have looked this, , found solution "should" work, not.
my menu:
<div class="menu"> <a href="mf.html?area=ac">kma</a> <a href="mf.html?area=oc">kmo</a> </div>
the jquery (placed inside docuemnt.ready function):
$("#menu").click(function () { $("#downloadlink").show(); });
and lastly, link want make appear: click here download databse
the above not work. if provide on matter, appreciated, im quite frankly getting bit frustrated, close weekend!
thanks in advance, jon.
try:
$(".menu a").click(function () { $("#downloadlink").show(); });
Comments
Post a Comment