I'm trying to select one class that is created dynamically, or another class that is created in html. What would be a good way of doing this?
I've tried this:
$('.wrapper' || '.surround').on('click', '.bet-button', function(){}
and also this:
$('.wrapper', '.surround').on('click', '.bet-button', function(){}
is there a way to write this, so far it doesn't seem to be working.