if you want unique data-attribute
(or class
) for each button - you must use the button as an embed code and bind some CMS field.
If you want to get “data-hello” value by js this is the code:
var dataElement = $("button.iftar-button");
$(dataElement).each(function() {
console.log($(this).data('hello'));
});
Anyway, no way to give you full answer (You talk about JS - but your page without any custom code -or- embed HTML) + Please add the modal library.