Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


dylan kane
dylan kane
2,772 Points

How can I add data to my mongo db with an html button with meteor (or in genera if no knowledge of meteor)

I need to add a string value to a mongo db document with an html button in meteor. I know how to do it with a html form, but I am not sure what changes when you do it with a button. For an example of what i need to do, a button would be clicked and then a value of say 3 would be added to a mongo document.