EvolMonster
Programmer
Hiya guys
I am working on an existing website to add functionality around a price results table.
This table has 5 columns :
Price - Option1 - option2 - option3 - option 4
There are also 4 tick boxes on the page that when clicked, will add the cost of the option onto the price, so price becomes Price + option1 etc.
This part of the code has been completed, and I am happy that I am updating the price, and another tag called rank, which just contains the number value for price, without the pound sign etc.
What I now need to do, upon clicking these buttons, is to re-order the prices to have the cheapest at the top.
Fairly simple. But I am a complete novice with javascript!
I've tried downloading some overly complex table sort code, and I cant get it to work. So does anyone have anything to get me started?
Cheers in advance!
DB
I am working on an existing website to add functionality around a price results table.
This table has 5 columns :
Price - Option1 - option2 - option3 - option 4
There are also 4 tick boxes on the page that when clicked, will add the cost of the option onto the price, so price becomes Price + option1 etc.
This part of the code has been completed, and I am happy that I am updating the price, and another tag called rank, which just contains the number value for price, without the pound sign etc.
What I now need to do, upon clicking these buttons, is to re-order the prices to have the cheapest at the top.
Fairly simple. But I am a complete novice with javascript!
I've tried downloading some overly complex table sort code, and I cant get it to work. So does anyone have anything to get me started?
Cheers in advance!
DB