<script type="text/javascript">
function showMessage(stringMessage)
{
var label = document.getElementById('message');
lable.innerHTML = stringMessage;
label.style.display = 'block'
hideMessage();//Hide message after 10 Sec
}
function hideMessage()
{
window.setTimeout(function() {
// Execute 10 seconds later
var label = document.getElementById('message');
if (label != null) {
label.style.display = 'none';
}
}, 10000);
}
</script>
No comments:
Post a Comment