Your trusty friend 'Google' is usually the best way for this! A quick search on javascript array max yields a useful result from none other than John: http://ejohn.org/blog/fast-javascript-maxmin/
--rob On 8/10/07, Simpel <[EMAIL PROTECTED]> wrote: > > > Hi there! not really a jquery question this maybe but hopefully > someone will answer it anyway... > > I've got an array with different productprices. I'd like to get the > highest and lowest price out of this array. What's the best way to do > this? > > /J > > -- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.