I was able to get it to work with the following js in the form that 
contained the embedded active scaffold

  $(document).on( "click", "#setup_billing_button", function() {
    $.post("/family_billing_details/setup_billing", {
      _method: "post",
      family_id: $('#family_id').html(),
      eid: $('div.active-scaffold.family_billing_details-view').data('eid')
    }, null, 'script');
  });



On Sunday, November 9, 2014 11:53:40 PM UTC-5, Jeff Surrett wrote:
>
> I currently have the embedded list in a partial. When I click a button, I 
> would like to process some information and update a section of the form 
> which includes an embedded active_scaffold with AJAX. Currently, it will 
> process and update the section but the embedded scaffold only shows the 
> title. I think I need to trigger an as:element_updated event for the 
> javascript to update the embedded list. I am not strong on javascript and I 
> can't figure this out. Any help would be appreciated.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to