Small issue with popup widget

My widget is complete and working, but not quite the way I’d like. I have it configured to popup On Click, and it does, when triggering with a button. However, I’d like to have the click item be a regular text link. The widget’s ID is “modal”; following is the code that works as well as what doesn’t work:

This works → <input id="modal" type="button" value="test">

Neither of these work → <div id="modal"><a href="#">test</a></div>,
<a href=”#” id=”modal”>test</a>

I also tried <a href="javascript:void(0)" … , which also did not work. In all cases, the Elfsight code is loaded before the button/link.

If it has to be a button trigger I can live with it, but I’d prefer a plain text link. Any thoughts?

2 Likes

Hi there, @Bob_Wilson :waving_hand:

Could you please send me a link to the page, where your widget is installed and specify the link that should trigger the popup? I’ll be happy to check things :slightly_smiling_face:

@Max: Thanks for the offer, but something changed since yesterday. What didn’t work before, now works. In fact, they all work, including the JavaScript method. :man_shrugging:

1 Like

Oh, that’s awesome! Thanks for the update :wink: