How to add attributes to an element
-
I am trying to calander booking pop up using the button block. I am able to load the script using a hook however I also need to add attributes to the element that should trigger the calender to open upon click.
How can I add the above attributes to my button? I understand that this requires GB Pro.
// Important: Please add the following attributes to the element that should trigger the calendar to open upon clicking. // data-cal-link="larryjames/consultation-meeting" // data-cal-namespace="" // data-cal-config='{"layout":"month_view"}'
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to add attributes to an element’ is closed to new replies.