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 Commented 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.