pass dynamic value in javascript code example
Example: pass dynamic javascript value to html
function myFunction(no) {
if (document.getElementById("showHide"+no).style.display=="none")
{
document.getElementById("showHide"+no).style.display="block";
}
else
{
document.getElementById("showHide"+no).style.display="none";
}
}