Create Javascript popup when click Like

David Martin Posted in Component Development 3 years ago

Hi! Guys, I have trying to create a javascript popup when you click a like but not work.

does anyone know how to do it?

Thank you very much!

Replies
Indonesian Arsalan Shah Replied 3 years ago

Click a like already have a trigger event why you wanted to open a new window when someone click on Like. Anyway you can open a console and see which class, ids are assigned to like/unlike link then using JS you can do whatever you like with those events.

Spanish David Martin Replied 3 years ago

Thank you Michael but I don´t know how to do that :-(. I just want to do when you click a like, open a popup window with javascript.

German Michael Zülsdorff Replied 3 years ago

Put your code onto Github to give us an idea what you're trying to achieve at all