TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abraham Olatubosun
NA
471
113k
JavaScript Function Double Summing
Feb 22 2017 3:54 PM
Dear code masters,
thank you for all previous support it made me rock stand in coding. However, i have a current challenge where we enter data's into the following textboxes "Age (<1) Age (1-4)" like that till it get to Age (50>), we do this for Male and Female.
The data's we enter should also display on the textboxes under the red background label only if these textboxes are empty but if they are not empty and greater than or equal to zero then, the textboxes above will sum up to their equiverlent textboxes bellow the red background that is what we want.
but the opposit is the case see the picture attached.
i have javascript at the top of the ASPX pages as shown bellow :
<!-- Inject Script Filtered -->
we then have these functions linked to each textboxes like bellow :
<
td
>
<
asp:TextBox
ID
=
"TextBox651"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3A()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox652"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3B()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox653"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3C()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox654"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3D()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox655"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3E()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox656"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3F()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox657"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3G()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox658"
runat
=
"server"
AutoPostBack
=
"False"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3H()"
>
asp:TextBox
>
<
td
>
<
asp:TextBox
ID
=
"TextBox660"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3I()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox661"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3J()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox662"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3K()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox663"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3L()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox664"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3M()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox665"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3N()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox666"
runat
=
"server"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3O()"
>
asp:TextBox
>
td
>
<
td
>
<
asp:TextBox
ID
=
"TextBox667"
runat
=
"server"
AutoPostBack
=
"False"
Width
=
"52px"
onKeyUp
=
"sumUpHTC3P()"
>
asp:TextBox
>
please i tried to explain the situation as best as i can, if you understand my challenge please i need your help
Reply
Answers (
8
)
Is it possible to upload an image and display it in a table
Hover on single Image with different tooltip or label