[eluser]new_igniter[/eluser]
Hello,
I am having problems with something that appeared to be a simple task. Below is my javascript function, in which I am displaying a hidden div, which then has a link to display another hidden div within.
When I go to execute the 'showSomethingElse' function on the onclick, it says postID is not defined. So, how do I pass the postID passed into the showCreate function, so that I can call the showSomethingElse function correctly.
**it keeps removing the code **
Code:
function showCreate(postID)
{
document.getElementById("new_container_" + postID).style.display = "block";
document.getElementById("new_container_" + postJID)[removed] = "<a class="group_link_small" href="#">Create an album</a>";
}
showSomethingElse