1

Is there any way to simulate the click event of 'Add another term' using javascript? I tried like this

 jQuery('#edit-field-attribute-und-add-more').trigger('click');

but no effect

1 Answer 1

1

Try this code

jQuery('#edit-field-attribute-und-add-more').click();
1
  • tried that, but no effect. I need the event that is bound with Add another term be invoked
    – user7282
    May 11, 2013 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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