I want to show and hide (toggle) the
Your anchor tag should be: And You javascript function :
onClick
event of the .
this is my
tag
&
Login
function showHideTable()
{
if (document.getElementById("loginTable").style.display == "none" ) {
document.getElementById("loginTable").style.display="";
} else {
document.getElementById("loginTable").style.display="none";
}