I have a page with some logic. After clicking the button creates a div element. I'm need to remove class from this element. I'm know, how add evens to dynamic elements, but can't find, how change attribute of dynamic element..
<div class="one two">it's a div</div>
$('.one').removeClass('two'); // doesn't work
may be i'm need some like this: ?
$(document).on(...)
It's not duplicate!!! it's defferend questions. I'm don't need events!