[Rails] Link_to onclick -javascript call
Hello All,
I have a link_to function for a link as follows
<%=link_to "Reply" ,{},:href=>"#",:class => "replyMessage
noBackgroundImage" ,:title =>"Click here to reply",:onclick =>
"popup('popUpDiv_reply');showName('<%= h message.chid
%>','channeltopost');"%>
When I try to run the file with the onclick as defined above,I get the
following error
syntax error, unexpected tRPAREN
Is there a way to fix it?
Thanks in Advance
Regards
Chandrika
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home