I've got a problem with .on()
.
I have multiple form-elements (forms with class="remember"
), also I add another one form.remember
using AJAX.
So, I want it to handle submit event something like:
$('form.remember').on('submit',function(){...})
but form added with AJAX doesn't work with it.
Where is the problem? Is it a bug?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…