# Taking the entire text

**URL:** <https://www.ruby-forum.com/t/taking-the-entire-text/84200>\
**Category:** Rails\
**Created:** [February 2, 2007, 7:52am UTC](https://www.ruby-forum.com/t/taking-the-entire-text/84200 "2007-02-02T07:52:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![swanand\_deodhar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@swanand\_deodhar](https://www.ruby-forum.com/u/swanand_deodhar)\
**Post date:** [February 2, 2007, 7:52am UTC](https://www.ruby-forum.com/t/taking-the-entire-text/84200/1 "2007-02-02T07:52:56Z")

</div>

Hi!  
I m hvng a text field and an observer attached to that field.  
\<%= text\_field\_tag :my\_id%\>  
\<%= observe\_field (:my\_id,  
:update=\>‘this\_div’,  
:frequency=\>0.5,  
:url=\>{:action=\>‘do\_this\_when\_changed’}) %\>  
The string textfield can be very long. Thus observer is taking only the  
part that is visible at one go and not the entire string… How can i  
make it take the full string??? Plz help.

Thnx and regards,  
Swanand
