本文介绍了自动计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在做一个图书馆管理项目。在前端我有两个文本框,一个用于截止日期,另一个用于详细信息。当在文本框中输入截止日期时,如果截止日期小于当前日期,我希望精细细节也应该在离开焦点后自动显示。

我已经定为罚款1天为5卢比或5美元。它必须计算没有天和应该乘以罚款金额和总数应该显示在精美的文本框中。请任何人帮助我完成这个。



提前谢谢。

解决方案



Hi every one,
I am doing a library management project.In front end i have two text boxes one for due date and another for fine details.When due date is entered in the text box, if the due date is less than current date i want fine details should also appear automatically after leaving focus.
I have fixed fine for 1 day as 5 Rs or 5$.It has to calculate no of days and should multiply with the fine amount and total should be displayed in the fine text box.Please any one help me in accomplishing this.

Thank you in advance.

解决方案




这篇关于自动计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 21:44