5 - Javascript:Arrays - Assignment
Create a form that asks how many elements you want in an array, up to 10 elements. Once the value is entered in a text field and the submit button is clicked, write the elements of the array to another text field, with asterisks seperating the elements. For instance, if the user enters 4 as the number of elements, the elements should be displayed as "0*1*2*3*".
Be sure the element display field clears properly on each execution of the script.
This due by the beginning of class in week 6.
I'll have a jump drive you can save it to, or you can email me the page.
30 points.
for 15 points extra credit, get this form to display like this: 1*2*3*4, keeping in mind that it doesn't just count to 4, but to whatever value the user enters. And note that there is not asterisk after the last digit.