unable to auto-resize the textarea control while assigning the value to it

unable to auto-resize the textarea control while assigning the value to it

Dear All,

I had written the below code where I am assigning the value to textarea control on "Submit" button ,But I am unable to autoresizse it when the content is large .
Where as my keyup event is working fine and adjusting textarea control when I am entering the information.

Can any one please do help me in knwoing what's wrong in it.

fiddle
Srk