Conversation

Notices

  1. Does any !coderpony know how to use Javascript to dynamically refresh a frame on a page or change the URL in it on a button press? I know setInterval so I know how to make a loop, I just can't figure out the actual command to change the frame (it has the id "nowplayinginfo" and I tried "setInterval("document.getElementId('nowplayinfo').src = 'http://178.85.178.39/nowplaying.php'", 1000);" but to no avail).

    Monday, 24-Sep-12 17:37:02 UTC from web
    1. @omni I think it's getElement[b]By[/b]Id().

      Monday, 24-Sep-12 17:38:53 UTC from StatusNet Android
      1. @redenchilada I wish I knew this before I wasted hours trying to restructure everything... Thank you!

        Monday, 24-Sep-12 17:40:22 UTC from web