JavaScript Lookup table help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JavaScript Lookup table help

  1. #1
    Join Date
    Oct 2005
    Posts
    95

    JavaScript Lookup table help

    Hi

    I need some help with javascript application . I am developing a system where I have to show time count using java script . System will show like below

    :59 seconds -- > seconds

    10:45 --> Minutes

    01:10:45 --> Hours

    19:01:10:45 --> Days

    If the time count is less than 59 seconds the system will only show seconds in numeric and letter

    If the time count is more than 59 second the system will only show Minutes and second in numeric and minutes in letter

    If the time count is more than 59 minutes the system will only show hours ,minute and second in numeric and hours in letter

    If the time count is more than 24 hours the system will show Days,Hours, Minutes and second in numeric and days in letter

    I know I can use lookup table . But I am new to javascript . Please help

    Thanks

  2. #2
    Join Date
    Sep 2006
    Posts
    68
    This is Java forum not JavaScript.

    Post here http://forums.devx.com/forumdisplay.php?f=112

Similar Threads

  1. Table Lookup
    By Dan in forum Database
    Replies: 2
    Last Post: 11-08-2001, 12:13 PM
  2. SQL Table Lookup
    By JasonGannett in forum Database
    Replies: 1
    Last Post: 05-23-2001, 10:23 AM
  3. Sample Sites.
    By Murray Foxcroft in forum Web
    Replies: 5
    Last Post: 11-02-2000, 02:42 AM
  4. Designing standard lookup table editing
    By Vikas Chopra in forum VB Classic
    Replies: 0
    Last Post: 06-27-2000, 11:11 AM
  5. Designing standard lookup table editing
    By Vikas Chopra in forum VB Classic
    Replies: 0
    Last Post: 06-27-2000, 11:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center