DHTML page which accepts user input into the text field as integers. when the user pressed the “Display” button, your function created in javascript should able to display the sum of the entire integers in an alert message.
Example
Input :
"21547524"
Output:
"2+1+5+4+7+5+2+4 = 30"
1 Answer