I have the following code which is loading an xml file to populate a dropdown menu. Right now the value equals the option text but I would like to have the value equal to some n
Not sure really what you are asking, but you could do 1 of two things.
Have a count variable in the javascript and everytime you add an option increment this variable. Use that number as the "value" and it will correspond to its "point" in the XML.
Or in the xml do each "make" like this:
1
Ford
and use the ID.
Not sure what you really want though, so don't know if this will help.