Actually i was trying to retrieve value of extarea of YUI.
and that code i am posting below.
I have tried below solution to retrieve value
YUI has special function to retrieve its html code into textarea.
I didn't use it before. Now i have used it now.
I have inserted code for solution
where i am trying fatch value of text area and passes it to hidden field.