How do I correctly specify a variable for the button id? - Forum | JoomShaper
Staff replied SP Page Builder

How do I correctly specify a variable for the button id?

Asked by Dmitry Goncharov 5 years ago Last activity 5 years ago

<div id="sppb-addon-1617047074273"> / #addonId
<a id="btn-1617047074273"> / ??????

In order not to write the id from the code, but to specify a variable, as for the entire addon.

1 reply

Ofi Khan Staff

Hello Dmitry Goncharov

Sorry, there is no option for ids. The only way is that you can assign class.

Best regards

Log in to reply.