Good morning,
I am using the jQuery ajaxComplete Function and I wonder if it would be possible to use it on a specific element (div)?
Example:
<div id="myAjaxDiv"></div>
So, if any ajax operation is done in this specific div, I'd like to fire an event.
I would like to use anything like
$("#myAjaxDiv").ajaxComplete(function() {
// my Scripts
})
instead of
$(document).ajaxComplete(function() {
// my Scripts
})
But, this doesn't work for me :-(
Is there another solution?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…