why my code is not working? I have called a javascript function after page load PHP script.like below:
<script>
setTimeout("fb_login()",100);
</script>
fb_login()
function is on same page
function fb_login()
{
alert("ok");
}
Tried with setTimeout("fb_login",100);
too. but not working.
I have checked console, but it's giving no error.