how to get jquerymobile styled textarea to shrink back
So, I am trying to respond to an event where the user wants to clear his inputs. If he has typed more than the number of rows, the textarea increases as expected. However, when he hits clear or I need to manually remove all the input (such as when a save occurs), the textarea does not go back to original size.
I have tried .attr("rows", "2").. does not work.
Is there a way to refresh this UI control?
Thanks,
TF