troubleshooting Question

Dropdown lists with numbers from 1 - 100

Avatar of 0nyx1
0nyx1 asked on
3 Comments1 Solution3686 ViewsLast Modified:
Hi guys. Okay, what i want to do is create a dropdown list with all the numbers from 1-100 and assign a value of + 0.10 for every 10. So basically, if the user chose the number 10, it would add 0.10 to the option value. However i cant seem to get it to work as i dont know how to make a box with all the numbers. I could write them out but that would take forever. Can anyone help me?. My code is shown below..

<TD ALIGN="center" CLASS="highlite">Y size</TD>
<TD ALIGN="center">
<SELECT NAME="" onChange="updatePrice(this.form);">
      <OPTION VALUE="0.00">0
      <OPTION VALUE="0.00">1
      <OPTION VALUE="0.00">2
      <OPTION VALUE="0.00">3
      <OPTION VALUE="0.00">4
      <OPTION VALUE="0.00">5
      <OPTION VALUE="0.00">6
      <OPTION VALUE="0.00">7
      <OPTION VALUE="0.00">8
      <OPTION VALUE="0.00">9
      <OPTION VALUE="0.10">10
      <OPTION VALUE="0.10">11
      <OPTION VALUE="0.10">12

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros