I want to upgrade to Bootstrap 5.
I need to migrate this code, as jQuery is no longer needed.
$(function() {
$('#feedback-form2').ZammadForm({
messageTitle: 'Technical Feedback Form',
messageSubmit: 'Submit',
messageThankYou: 'Thank you for your inquiry (#%s)! We\'ll contact you as soon as possible.',
showTitle: true,
modal: true,
attachmentSupport: true
});
});
Do you know how I can do this?
I tried doing something like this:
document.getElementById(‘feedback-form’).ZammadForm(
but it doesn’t work.