Facebok FBJS problem

Discussion in 'JavaScript' started by jureptk, Aug 31, 2011.

  1. #1
    I have this javascript code and I want to convert it in FBJS, but I don't know how.

    <html>
    <head>
    <script type="text/javascript">
    function timeMsg()
    {
    var t=setTimeout("alertMsg()",5000);
    }
    function alertMsg()
    {
    document.write("<p>some text</p>");
    }
    </script>
    
    </head>
    
    <body>
    
    
    <a href="http://www.mywebsite.com" onclick="timeMsg()">Click</a>
    
    </body>
    </html> 
    Code (markup):
    Can someone help me?
     
    jureptk, Aug 31, 2011 IP
  2. HalvinCarris

    HalvinCarris Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do you mean by FBJS?
     
    HalvinCarris, Sep 3, 2011 IP