Threadly -- setting value of #comment to an empty string


So I was wondering if there is another way than my code below to set the value of #comment to an empty string?

   if(comment !== "") {
      var html = $('<li>').text(comment);


No, that is how to clear the form field.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.