0

I want to trigger click on "Add Another item" button of field collection on some jQuery event.

1 Answer 1

1
jQuery('.field-add-more-submit').mousedown();

works in Inspector.

$('.field-add-more-submit').mousedown();

probably works from a module.

.click() doesn't work for some reason. More info here.

Not the answer you're looking for? Browse other questions tagged or ask your own question.