Hi all,
For some reason, I cannot get one of the forms on a page I am doing as a class assignment to work. I've gotten most of the Javascript to work ok with no problems but this little problem is driving me nuts.
Here's the code:
Code:
function wedPrice(myform) {
var weddingQty = myform.WedQty.value
var EstPrice = weddingQty * document.WeddingPrice.Price.value.substring(1,6)
var EstPrice = new String(EstPrice)
document.WeddingQuantity.WedExtPrice.value = dollarFormat(EstPrice)
}
The error I get when testing with Mozilla Firefox is this: weddingQty is not defined.
Ben Horne
-------------------------
I don't want to sound like I haven't made any mistakes. I'm confident I have.
Most likely using
FireFox and concocting my next Macromedia Flash project
Snibworks Forums Moderator
Welcome to the
New Age
__________________
Ben Horne
-------------------------
I don\'t want to sound like I haven\'t made any mistakes. I\'m confident I have.
Most likely using
FireFox and concocting my next Macromedia Flash project
Snibworks Forums Moderator
Welcome to the
New Age