473,414 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

How to add 2 numbers together in textbox and automatically display the answer inside

How to add 2 numbers together in textbox and automatically display the answer inside the 3rd texbox without click on any button
Sep 6 '13 #1
2 2025
Rabbit
12,516 Expert Mod 8TB
That can only be done in Javascript, your thread has been moved there.
Sep 7 '13 #2
pandu13
16
use javascript or jquery

In jquery after calculation set the value like this

Expand|Select|Wrap|Line Numbers
  1. $('.textboxclassname').val(result);
Sep 7 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Xam | last post by:
Hello Everybody Can you let me know of a javascript/dom routine that will automatically put the flashing cursor in the first text box in my form so that it is ready for entry rather than the...
1
by: | last post by:
Hello, how can i do this: i have textbox, but i want that only numbers is possible to write in this text box. Thanks Lubos
0
by: rbutch | last post by:
hey guys got a question. im trying to bind a textbox "at runtime". im creating the conn string, dataset, dataAdapter etc dynamically. and it keeps erroring out. <asp:TextBox ID="txtDay1"...
1
by: ajiwu | last post by:
I have .net code <asp:textbox id="txtUser" runat="server" cssclass="field-125"></asp:textbox> It's not display on my local system which running Winxp with .net framework 1.1 installed. It's...
7
by: Greg Burns | last post by:
I have a textbox that I only want to allow "numbers". 1,000 1000 1000.0512 I don't want to prevent them from typing anything else, because I want to check their input in the Validating event...
0
by: CCLeasing | last post by:
Hello, I have searched google but can not find a straight forward answer to my problem. Hopefuly someone will be kind enough to offer their expertise. Please forgive if this seems a bit convoluted...
6
by: vandanasridhar | last post by:
hi, myself vandana. is there any property of textbox that can allow textbox to accept only numbers. i tried it by setting dataformatting property to number but nothing happens. thx in adv.
1
by: DEklof | last post by:
I am new to javascript and need to automatically display a pdf file when an html page opens. How do I do this with javascript? Thanks Dennis
10
by: edithgingras | last post by:
what am i missing here? #include <iostream> #include <string> using namespace std; int main() { // Declare Variables
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.