I want to add the "Close" (or Hide) button next to "Submit" button for Modal form if a customer wants to close it without submitting anything... What properties should I use for element Button to implement that? Cannot find any solution on forums.
Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.
Thank you for your support!
$("#button_id").on("click", function(){ $(this).closest(".modal").modal("hide"); });
<a class="ui button red compact" id="button_id">Close</a>And use the same JS code to reference the link in the code.
2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com