Trigger JS code snippet on button click
-
I want to have an onclick code snippet which will implement the following when I click on a button with a specific id. eg: “book_now_button”
<a href="javascript:void(0)" onclick="saloniq.loader.openIFrame()">BOOK ONLINE</a>
Can you help me with what to put in a code snippet for this?
- The topic ‘Trigger JS code snippet on button click’ is closed to new replies.