On Aug 15, 4:08 am, RVince <[email protected]> wrote:
> Fred,
>
> I must not be understanding you correctly. I would still need to put
> an entire form inside a hidden div for each row, and do the whole
> thing in the hidden html -- which is what I am trying to avoid doing.
> But I may not be understand you correctly?
Not necessarily. in one place only you could have a javascript
function:
function createForm(container){
$(container).insert(...)
}
and then the various table rows have that function as their onclick
(or you add that function as an event handler via the non obtrusive js
way of your choice).
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---