I'm calling an Ajax function in a field collection. But after hitting 'Add another item' button, form looses Ajax effect. I want to bind the Ajax with form event after clicking on 'Add another item' button. Can anyone help?
More info on Drupal.behaviors here
Actually on reload of page Ajax looses its effect. So we solved this problem through form alter.
$form['#after_build'] gives us all the detail after save so that helps to retrieve values again and filter.