On Aug 14, 11:27 am, RVince <[email protected]> wrote:
> Fred,
>
> I would love to create it on the fly, but cannot figure out how to. I
> was thinking of a partial, inside the div -- but that actually renders
> when loaded. How would I do what you are thinking -- I cant see a way
> to actually do that (what I see, are ways that APPEAR to do that, but
> really dont) -Rvince
Well to pick something really simple:
$('container').insert("<form> ... </form>").
will add an (empty) form into the specified dom element.
Fred
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---