SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    3 Post(s)
    0 Thread(s)

    Arrow Change the value of Progress Bar Interactively?

    Hi guys

    Okay here is the scenario.
    Let say I have these fields below

    <input name="fname" type="text" id="fname" />
    <input name="lname" type="text" id="lname" />

    with a progress bar.

    When the "fname" field is filled up with some value the progress bar
    value is increase by 5%

    and the same with the "lname" input field.

    How is this done?
    Can you show me some sample codes please.

    Thanks in advanced.

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Christchurch, New Zealand
    104 Post(s)
    4 Thread(s)
    Quote Originally Posted by solidcodes View Post
    How is this done?
    It is done by using some code that tracks the amount of progress, by scanning through the fields that it needs to keep track of, so that it can update the amount of progress.

    Quote Originally Posted by solidcodes View Post
    Can you show me some sample codes please.
    It is typically preferred for a person to show what efforts they have made up to this point, from where we can provide guidance as to how you can get to where you want to be.

    It's about providing a difference between being code monkeys for hire (which we're not) and providing assistance where it's needed to help people learn and understand more about their programming.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts