You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ncri I need to be able to call an event after the one below: $(document).on("fields_added.nested_form_fields", function(){ $('.increment').last().text('<%= @less_per_unit %>'); calc_total(); });
Oh, i was reading "after fields added". ;-) Well, the fields_added event is the last thing happening when adding nested fields, so you can simply put the code behind the other code you have in the on callback? Why would it need to be later?
Is there an event/function I can call to run AFTER fields_added?
The text was updated successfully, but these errors were encountered: