Created
June 27, 2017 03:12
-
-
Save worstn8mare/a75cad16c9ca1d3cb6ba94f5103b0d32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
function plus(operator,value){ | |
/* code here*/ | |
return result; | |
} | |
function divide(operator,value){ | |
/* code here*/ | |
return result; | |
} | |
function times(operator,value){ | |
/* code here*/ | |
return result; | |
} | |
function minus(operator,value){ | |
/* code here*/ | |
return result; | |
} | |
function checker(input){ | |
/* code here*/ | |
/* condition code | |
if(exploded input operator is equal to "-") | |
holder = minus(operator,value); | |
else if(exploded input operator is equal to "*") | |
holder = times(operator,value); | |
.... | |
*/ | |
return value sa selector sa textbox nga naka focus; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment