'Google events reset button

I made a widget where you input a temperature in F and it gets converted to C. I'm trying to create a button that, upon clicking, will reset the input text box. How do I do this using google closure library? I tried using goog.dom.setTextContent(temp-input, "") but that doesn't work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source