If Else Demo - Starting AH513

If Demo

As you can see, the program looks at the input in the text box and changes behavior based on the value of the text field. Here's the checkName() function called in ifElse.html:

Blanking out the <fieldset> and it closing tag removes the box around the whole form. If in addition, I remove the <form> tag and its closing tag, the display does not change.




Next I shall remove <fieldset< and </fieldset> from the script




Next I shall remove <form< and </form> from the script




Next I shall remove <form< and </form> from the script, and will not assign a value to txtInput5




For all displays I wrote five functions and five HTML scripts. The last HTML script was not assigned any value, value = "" />