问题描述
我有两个文本框.
首先是B1,
第二个是B2.
(B1)容量-TextBox1
(B2)总数量-TextBox2
如果我们在B1中输入值.
//将B1乘以13,然后乘以no.当月的天数.
//(计算值)
现在在B2中输入值.
//(输入值)
如果计算值小于输入值,则应更改字体颜色.从黑色变为红色.
我如何在使用JavaScript中完成它.
请帮助....
I have two textboxes.
First is B1,
Second is B2.
(B1)capacity - TextBox1
(B2)Total Quantity - TextBox2
If we enter value in B1.
//multiply B1 by 13 and multiply by no. of days in current month.
//(calculated Value)
now enter value in B2.
//(entered Value)
IF calculated value is less than entered value then it should change color of font. Change from black to Red.
how Can i Done it in Using JavaScript.
Plz help........
推荐答案
如果只进行了少量研究,您会发现查找和使用它很容易.
If you did just a small amount of research you would see how easy this is to find and use.
这篇关于用Javascript计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!