On Tue, Feb 3, 2009 at 2:28 PM, Zaliek <zali...@gmail.com> wrote: > > Using decrement the way I did will change the actual var at the same > time? > It needs to be decremented to pull the correct array value since > arrays start at [0] instead of [1] > Is there a way to get the decremented value without changing the > actual variable? I still need to display the total weight on the page.
weightpricearray = (pricesarray[totalweight - 1]).split(",");