Sunday, 30 June 2013


 Make a simple calculator in HTML using VBScript



  
*This is a very simple calculator made with HTML and coded with VBScript. This hta file simply evaluates the expression in the text box. The expression can be entered using the mouse to click the buttons or else from the keyboard. To prevent the chance of invalid data being entered, only numerical keys and the signs are allowed on the keyboard. Also you can use Enter key to evaluate the expression and C to clear the text box.
To make the calculator just save the following code with a .hta extension using notepad. Hope this code helps you improve your scripting! Happy Hacking..




0 comments:

Post a Comment