I want to trigger click on "Add Another item" button of field collection on some jQuery event.
closed as off-topic by AjitS, DRUPWAY, Adrian Cid Almaguer, mradcliffe, Beebee Nov 2 '17 at 11:41
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on programming, PHP, SQL, etc. that do not relate directly to Drupal are off-topic here, but can be asked on Stack Overflow." – AjitS, DRUPWAY, Adrian Cid Almaguer, mradcliffe, Beebee
works in Inspector.
probably works from a module.
.click() doesn't work for some reason. More info here.