I am trying to get a box to drop down on the click of a link. This is my JS function
<script language = 'javascript'>
function toggleInteractlogin(x)
{
if($('#' + x).is(":hidden"))
{
$('#'+x).slideDown(200);
}
else
{
$('#'+x).hide();
}
$('Interactlogin').hide();
}
</script>
Whenever i click on the actual link itself nothing slides down.
<div class='buttons'><a href = '#' onclick = "return false" onmousedown = "javascripttoggleInteractlogin('login')"class='regular' name='save'> Log In </div></a>
Any help is appreciated