Displaying 1 result from an estimated 1 matches for "popupdiv_reply".
2011 Mar 09
1
Javascript call from view.
...he logged-in user and his/her
followers.
Each message has a reply link which has been coded as follows
<%=link_to "Reply" ,{},:href=>"#",:class => "replyMessage
noBackgroundImage" ,:title =>"Click here to
reply",:onclick=>"popup(''popUpDiv_reply'')"%>
I have two javascript functions as follows defined seperately in an
application.js file.
function showName(inputName,textName){
var fieldName = document.getElementById(inputName);
document.getElementById(textName).value += ''@'' + fieldName.value +
'...