I am developing comment systems with two level of replay to the comments and I have a problem with how to show and hide divs .., because it\'s id\'s are different .., I trie
After edited question, i suggest you use div instead of span (because of display inline vs block).
div
span
$("button").click(function () { $(".myform").toggle('slow'); });
would do the job how you want.Here is the result.