Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Markup Languages > HTML   »   ordering the number

 
Thread Tools Display Modes
Question
 
 
#1  
Old Oct 3, 2007, 02:27 AM
nur
New Member
nur is offline
 
Join Date: Oct 2007
Posts: 1
nur See this member's comment history on his/her Profile page.
ordering the number

hi,

I have made an HTML page which shows a dice game.

but the only difficult thing is putting the random numbers in order from the highest to the lowest

I hope that you can answer my question

thank you

Reply With Quote
 
     

Answers
 
 
Old Oct 10, 2007, 11:11 AM   #2  
Junior Member
aaii is offline
 
Join Date: Oct 2007
Posts: 75
aaii See this member's comment history on his/her Profile page.
You would have to use JavaScript to do this.

Take a look at sort function

Then you would have to use the DOM to change (.innerHTML property) the elements data (such as using a DIV).

Hope that helps.
  Reply With Quote
 
     

Bookmarks


Thread Tools
Display Modes

 
Similar Sponsors

Similar Threads
Question Asker Forum Answers Last Post
Hydrocodone - ordering online dred3213 Addictions 7 Dec 8, 2008 02:39 PM
Number 3 qwanisha2005 Accounting 1 Sep 13, 2007 02:07 PM
If I register for a business number in Canada and provide my social Insurance number. digidaze Small Business 1 Aug 29, 2007 07:32 PM
need the next number gigglefriend Mathematics 1 Feb 18, 2007 02:11 PM
Having trouble ordering Pay Per View through DirectTV since ordering yahoo dsl joelhakes Wireless Technology 1 Mar 20, 2005 12:33 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 09:05 PM.