Thanks for your reply. I am able to get the value from an html selector.
I just have one query – If I have 5 buttons with Same Class and different attribute called ex. “city” and I want that if someone clicks on the buttons, the popup has the city attribute respect to the button.
If I try the following shortcode –
[pbvariable selector=”.prop-arc-anchor” attribute=”data-city”]
Now clicking on all the buttons gives the same value for City. Is there any way to implement it ?
with jQuery it is very easy as –
$(“.prop-arc-anchor”).onclick(){$(this).attr(“data-city”)}