Assign arraylist to different place

Assign arraylist to different place

Hi

I have the select list using ul li, when i press reset button, the value for the first <li> will display again for every list.

It that possible to do base on sequence without refer to id?