How can i add a time delay that will work with the following code? This is the lower portion of code
else {
$w(“#text71”).text = “Please choose a file to upload.”;
}
$w(‘#button17’).hide();
// I’m trying to add a time delay to the code above line 47 and 48 so that the button and text only appears after five seconds
$w(‘#button18’).expand();
$w(‘#text72’).expand();
}
I have the following code example but this will not work for me and only shows errors if i place above
$w(‘#button18’).expand();
$w(‘#text72’).expand();
CODE EXAMPLE
$w.onReady(function() {
setTimeout(function() {
$w(“#image11”).show(“FadeIn”);
}, 1000);
}
Thanks
Adam