Hi All,
I am developing a web page using HTML,
JSP and JAVAScript.
Problem description:
There is a given number. Say "amount"
User has to enter numbers in the textbox provided. If the user entered value in the text box is equal to the "amount", then user is taken to the next page. OTherwise,
1. If Value entered in the textbox is greater than "amount". error/alert message is displayed. and user is not allowed to navigate to the next page.
2. If value entered in the textbox is less than "amount", another textbox has to be displayed(dynamically) to enter the balance amount.....
So, this loop goes on till the sum of values in the textboxes becomes equal to "amount".
How to create these textboxes dynamicall? only when sumof values in the textboxes are less than a given number("amount")?
Any one please help. Thanks for your time and help.
