Displaying 2 results from an estimated 2 matches for "checkpostfieldlength".
2011 Mar 03
6
Show a value in view
...roller method I am taking that user''s name using
@posted_by_name = params[:posted_by]
In my view my text area looks like this
<textarea name="message" id="message" maxlength ="400"
style="overflow:auto;width:100%;height:
56px ;"onkeyup="checkPostFieldLength(message,''remaining'',
400);"onkeydown="checkPostFieldLength(message,''remaining'',
400);"onmouseout="checkPostFieldLength(message,''remaining'', 400);">@<
%=h @posted_by_name %>:</textarea>
The text within <...
2011 Mar 09
1
Javascript call from view.
...0%;">
<div style="width:
75%;float:left;">
<textarea name="message_reply"
id="message_reply" maxlength ="400" style="overflow:auto;width:
100%;height:56px ;"onkeyup="checkPostFieldLength(message,''remaining'',
400);"onkeydown="checkPostFieldLength(message,''remaining'',
400);"onmouseout="checkPostFieldLength(message,''remaining'',
400);"onclick="showName(''postedby'',''message_repl...