|
function getMessage ()
{
window.alert ("ok!");
var timer = setTimeout ("fLoadXml ('xml.xml', fShowXml);", 1000)
var timer = setInterval ("fLoadXml ('xml.xml', fShowXml);", 2000)
}
</ script>
I use getMessage () to execute fLoadXml ('xml.xml', fShowXml); both setTimeout and setInterval are executed only once and not executed. Why is this?
Wait online, thank you !! |
|