Hi Radhames,

Thank you so much for your kindly help and patient. I found the answer
by the link you point above.

As you said, the question it's not about the JS itself but rather than
how to render JS in Rails ERB file. After read though the text_area
API, I got the answer.

Next time I will start from reading API instead of posting such a
native question. Thank you again

Hi Pedro,

Thank you for your suggestion and I found it help me a lot!
On 10月24日, 上午3时11分, radhames brito wrote:
On Sun, Oct 23, 2011 at 12:53 PM, Pedro Fernandes Steimbruch <

pedrofsteimbr...@gmail.com> wrote:
This is a very basic question, a simple google search and just a little
reading about like I said will light your way.
The web programming paradigm is very confusing for a beginner and the way
rails makes things seem magical is even more confusing to some people, i
often find easier to teach rails and web developing to someone completely
new to programming.

The form helper could be very obscure is you dont really know what helpers
are. Also some basic javascript tutorials still have embedded js and to
some the benefits of been unobtrusive are not obvious.

Pauls seem to be confused not by javascript but by the form helper and the
way it renders html at the end so he does not appears to know that the
helper outputs an id form him to capture via js.
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.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
grouprubyonrails-talk @
postedOct 21, '11 at 4:18p
activeOct 24, '11 at 1:56a



site design / logo © 2022 Grokbase