Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Development
HTML and CSS
Is there a way to input a unique number for each array output?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="machinegod, post: 5171216, member: 92202"] I attached the file I am working on. I am trying to number each result so that it says: City #1 is... City #2 is... City #3 is... ... and so on. I was thinking that I had to write something inside this for loop? for (var i = 0; i < input.length; i++) { var a = input[i]; r = r + "City #" + "???" + "is " + a.value + ("<br>"); } I am working with Notepad++.[/i] [/QUOTE]
Verification
Post reply
Forums
Development
HTML and CSS
Is there a way to input a unique number for each array output?
Top