After i load this :
$('#buy-div').load('../buyBar/buyBar.html',function() {
//do some things here
});
I would like to include this :
<script src="../buyBar/BuyBar.js"></script> //access some html that does not exist
Beacuse in this js
i am looking for some html
that does not exist only after the .load
function is done. (such as getElementById
or $('input').keyup(function() {
that happens before the .load
was finished.