I have to perform an operation after a delay time (a fraction of a second).
Actually I have this code section:
$("thead.opening").click(function () {
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
alert("INTO second function, chrome: " + is_chrome);
$(this).next().css('width', '10000000em');
$(this).next().css('display', 'table-row-group');
});
What I need to do is replace this alert():
alert("INTO second function, chrome: " + is_chrome);
with an operation that wait some time.
How can I do it?
Thx