'How To Execute HTML href using JavaScript With href id and class variable

i already have separate contact form working by "on click" and validating and storing values to db using JS & Ajax.

Now i want to display one popup box after a form validation and Ajax code worked. The popup working fine separately. but not working while trying to execute a code via JavaScript.

Simply i want to execute this line via java-script. The code mentioned below

Please help me to solve this.

<a href="#small-dialogs" class="popup-with-zoom-anim text-center">


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source