Results 1 to 1 of 1

Thread: What's wrong with this thing !? *RESOLVED*

  1. #1

    Thread Starter
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    What's wrong with this thing !? *RESOLVED*

    OK this JS function works in a seperate file:

    function makenum() {
    Diver=document.getElementById('mydiv')
    Diver.innerHTML=""
    for (i = 0; i <= 10; i++)
    {
    no=Math.random()
    no=no*i

    Diver.innerHTML = Diver.innerHTML+Math.round(no)

    }


    }


    But when i try to put it in another document, IE fails and doesn't want to display the page!

    I've attached the working file...

    [Edit]Played with it, solved the problem[/Edit]
    Attached Files Attached Files
    Last edited by vbNeo; Sep 19th, 2003 at 08:19 AM.
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width