I am new to jquery. I wrote one javascript method and will be called on click of an anchor.
onclick="return show('contentTwo','content');
here contentTwo and content are div Ids.
method:
function show(shown, hidden) {
document.getElementById(shown).style.display='block';
document.getElementById(hidden).style.display='none';
return false;
}
Now I would like to use jquery's slideDown and slideUp methods than using javascript. how can I convert the above code into jquery?
Thanks!