I want to emulate jQuery’s .toggle(). I know that if you have a click event, the Meteor data is with it, but I’m not sure how to manipulate the DOM with it. It’d be really cool if I could hide a
<li> without having to label it.
<ul> <li>I'm from a collection. Click me to manipulate me.</li> <li>I'm from a collection. Click me again to make me normal.</li> </ul>
Any documentation or tutorial to reference would be very handy. I’ve searched this for hours online last night.