Answer to Question #219891 in HTML/JavaScript Web Application for Ayushi

Question #219891

your output:

ReferenceError: "aqString" is not defined


expected output:

Script


1
Expert's answer
2021-07-23T17:29:53-0400
<html>
  <head>
    <title>Q219891</title>
    <script>
      function someFunction(boolean) {
        document.querySelector("form").innerHTML = "Script";
      }
    </script>
  </head>
  <body>
    <h1></h1>
    <form action="#" method="GET" onsubmit="someFunction()">
      <fieldset>
        <input type="text"/>
        <input type="submit"/>
      </fieldset>
    </form>
  </body>
</html>

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS