I have this code:
$( "#drawingSurface" ).mousedown(function(event) {
$('.infoText').text('Started! Please Wait..');
compilation(); // this takes a long time.
}
Now no matter what I do, $('.infoText').text('Started! Please Wait..');
will just not execute. The element is there, it is annoying because compilation takes ages to finish and when it is done then the text shows up. I want the text to SHOW up as in the order that I have written things.