[orca-list] Why doesn't this page work?



Hello Everyone,

Please look at and test the exper.html page which is pasted below. It is a small experimental page intended 
to test some JavaScript statements. 
Ultimately it will give rise to an Artificial Intelligence game for my www.godtouches.org website.
It works on Windows with Chrome and NVDEA but not on Mate with either Chromium or Firefox.
I am using Braille with Orca. No speech.

<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>

  <script>
    function nextMove(curresp) {
        response = curresp;
        document.write("You responded " + response + "<br>");
        return true;
    }
    
    response = window.prompt("What is your response?");

    nextMove(response);
    </script>

  <!--
      <p id="theform"></p>

      <form
        onsubmit="return nextMove(this)" 
        method="POST" action="none">
        <p>
          What is your response? <input type="text" name="response" value="Yes">
        </p>

        <input type="submit">
      </form>
      -->

</body></html>

-- 
John J. Boyer
Email: john boyer abilitiessoft org
website: http://www.abilitiessoft.org
Status: Company dissolved but website and email addresses  live.
Location: Madison, Wisconsin, USA
Mission: developing assistive technology software and providing STEM services 
        that are available at no cost




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]