Question
Asked by:
$50.00 Scripting/Programming Assignment
- From Computer-Science: Programming-Methods , Computer-Science: General-CS
- Closed, but you can still post tutorials
- Due on Sep. 14, 2009
- Asked on Sep 14, 2009 at 3:08:14PM
Q:
Scripting/Programming Assignment:
- Have a page with three items on it:
- Text field
- An “Add to List” button
- A 3-line list
- The scenario is:
- Type a name into the text field
- Press the “Add to List” button
- If the name is less than or equal to 15 characters, add it to the list, clear the text field, and return the focus there
- If the name is blank or greater than 15 characters, display an error message and return the focus to the text field.
I also need to have this as extra:
Add a "Remove from List" button The scenario is:
The user types a name into the text box They press the Remove from List button Your script searches the list for the name If the name is not in the list, put up an alert that says something like "I don't see that name in the list" If the name is in the list, remove it.That's the assignment. I need it on a html file. Thank you.



