Displaying 2 results from an estimated 2 matches for "posted_by_nam".
Did you mean:
posted_by_name
2011 Mar 03
6
Show a value in view
...s clicked.When I a click on
the link a pop-up appears in which there is a text area and a post
button.Inside the text area,the name of the user to whom I am replying
should appear in the form ''@username:''
Now in my controller 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);"onkey...
2011 Mar 09
1
Javascript call from view.
...lick=>"popup(''popUpDiv_reply'')",:success=>"showName(''postedby'',''message_reply'')"%>
</div>
<input type="hidden" name="postedby" id="postedby" value="<%=h
message.posted_by_name %>"/>
<div id="popUpDiv_reply" class="replypopUpDiv"
style="display:none;padding:0px 0px 0px 0px;">
<div id="spinner_page_col"
style="margin:0px 0px;position:absolute;display:none;">...