Connecting Tech Pros Worldwide Forums | Help | Site Map

Ruby on Rails(Links inside text area)

Newbie
 
Join Date: Dec 2007
Posts: 14
#1: Jan 25 '08
Hi,
M using browse button to select a text file.The contents of text is made to display inside text area.Now i have to add some links for the some parts of text which is inside text area.How can i do this?Please help me.

Expert
 
Join Date: May 2007
Posts: 213
#2: Jan 25 '08

re: Ruby on Rails(Links inside text area)


I'm not sure I understand what you are trying to do. If you need to insert text into the textarea, can you edit the ruby variable before sending it to the view? Or possibly use JavaScript to insert text?
Reply