+ Reply to Thread
Results 1 to 2 of 2

Thread: change value of text box

  1. #1
    Barn Enthusiast guddu is on a distinguished road guddu's Avatar
    Join Date
    Jul 2008
    Location
    Oxford UK
    Posts
    469
    Rep Power
    4

    change value of text box

    below is function currently i m calling on oblur event of my text box.but what i needed as soon as user input value in textbox immdly that value should added or subtracted from another text box.should not wait for focus lost.

    Code:
    function mCalculateSumInvoice(LineNumber)						{
    						 
    							document.getElementById("txtInvoicedQuantity"+LineNumber).value =  parseInt(document.getElementById("txtInvoicedQuantity"+LineNumber).value) +   parseInt(document.getElementById("txtAdjustmentToAcceptedQuantity"+LineNumber).value);
    						}
    
    Love is physical attraction and mental destruction

  2. #2
    Barn Legend Rebelle will become famous soon enough Rebelle's Avatar
    Join Date
    Mar 2008
    Posts
    1,522
    Rep Power
    5

    something like this example?

    Example

+ Reply to Thread

Similar Threads

  1. edit with text box
    By guddu in forum JavaScript Programming
    Replies: 10
    Last Post: August 20th, 2008, 12:15 PM
  2. Change styles onclick
    By BLaaaaaaaaaarche in forum JavaScript Programming
    Replies: 6
    Last Post: July 22nd, 2008, 12:02 PM
  3. find words and change
    By todd2006 in forum JavaScript Programming
    Replies: 4
    Last Post: July 2nd, 2008, 10:58 AM
  4. Change to Reputation System
    By jmurrayhead in forum Announcements
    Replies: 0
    Last Post: June 2nd, 2008, 10:57 PM

Bookmarks

Posting Permissions

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

SEO by vBSEO