Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2010
    Thanked 0 Times in 0 Posts

    while loop text boxes sum


    i have while loop with php

    Itemcode , Price

    inhear it will have 4 or 5 text boxes with the value

    then i need to write a java script to get the sum of this when ever change the value of the text box value

    how do i write.. plzz help me to solve this

  2. #2
    Regular Coder
    Join Date
    Apr 2012
    St. Louis, MO
    Thanked 101 Times in 101 Posts
    If the textboxes are in the PHP loop, give each an onblur() event to call a function that will get the number of textboxes, loop through them all grabbing the value and adding it to a total.

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".


Posting Permissions

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