1 Reply Latest reply on Apr 16, 2006 7:10 AM by Newsgroup_User

    javascript

    SkidOvidiu
      I have a very simple javascript function:

      function changeStatus (status) {
      var statusBox = document.getElementById('status');
      statusBox.innerHTML = status;
      }

      it works from HTML, the function is Ok!

      I tried from Flash like this: getURL ("javascript: changeStatus ('aaa');"); but nothing
      where is the problem?

      thanks
        • 1. Re: javascript
          Level 7

          You may need to have an http://aDomainAddress/YourHtmlorServerScriptDoc to
          test it because security when running locally (file:///C:/).

          --
          Lon Hosford
          www.lonhosford.com
          May many happy bits flow your way!
          "SkidOvidiu" <webforumsuser@macromedia.com> wrote in message
          news:e1t7p5$b1v$1@forums.macromedia.com...
          I have a very simple javascript function:

          function changeStatus (status) {
          var statusBox = document.getElementById('status');
          statusBox.innerHTML = status;
          }

          it works from HTML, the function is Ok!

          I tried from Flash like this: getURL ("javascript: changeStatus ('aaa');");
          but nothing
          whare is the problem?

          thanks