assertivewd
05-20-2005, 01:29 PM
http://www.assertivead.com/calc
function numbers(){
var closingCosts = financing*.03;
var afiFee = financing*.03;
var cashBack = financing - closingCosts - costValue - afiFee;
var escrow = financing*.01*escrowLength;
var inHand = cashBack-escrow;
var equity = propValue - financingValue;
var financingValue = propValue*financing;
var costValue = financialcalc.costValue.value;
var propValue = 240000;
var financing = financialcalc.financing.value;
var escrowLength = 3;
}
This doesn't seem to be working like it should. I am not sure what I need to do. I have made sure all of the variables and corresponding text boxes the same. Do I have to somehow tell it to write to the boxes? Or am I missing something altogether? The code for the form is failry long so you can view the source for that information, or if it would be easier for me to post it, let me know and I will do so.
Keep in mind I have no experience in this aside from what you see here. I made this off of one of the only tutorials I could find for calculators (theirs made and easter day calculator). I do have a good sense of coding though, so I am not completley hopless.
So for my question: "What am I missing?"
Thanks for the help!
function numbers(){
var closingCosts = financing*.03;
var afiFee = financing*.03;
var cashBack = financing - closingCosts - costValue - afiFee;
var escrow = financing*.01*escrowLength;
var inHand = cashBack-escrow;
var equity = propValue - financingValue;
var financingValue = propValue*financing;
var costValue = financialcalc.costValue.value;
var propValue = 240000;
var financing = financialcalc.financing.value;
var escrowLength = 3;
}
This doesn't seem to be working like it should. I am not sure what I need to do. I have made sure all of the variables and corresponding text boxes the same. Do I have to somehow tell it to write to the boxes? Or am I missing something altogether? The code for the form is failry long so you can view the source for that information, or if it would be easier for me to post it, let me know and I will do so.
Keep in mind I have no experience in this aside from what you see here. I made this off of one of the only tutorials I could find for calculators (theirs made and easter day calculator). I do have a good sense of coding though, so I am not completley hopless.
So for my question: "What am I missing?"
Thanks for the help!