Is it possible to do a callback for the below?
$('.element').css("visibility","visible");
I came across this but seems like there are issues using this in chrome.
$('.element').css("visibility","visible").promise().done(function(){
alert( 'done! start stuff...' );
});
Basically I'm looking for a way to confirm that the $('.element')
is visible before proceeding to the next line.