Hi I want to put a time delay on a function. This is how I'm going implementing it, however it's not working......


function loadXMLDoc()
{
setTimeout('loadXMLDoc()',5000);
//code
....
..

..
.
}