WhiteTiger
Programmer
I have A1 through A10, and I need to pass a number to them...
As of now I'm doing
document.all("A1".value to set the value...
Is there any way in a function that I could NAME what thing I want it to pass my information to?...
I have to pass a number, and I have to pass what should be passed along after that...(confusing part)
function passa1(obj)
{
rate=0.345
document.all("A1".value = obj * rate
addem()
I'm already getting value of 1 textbox...how could I make the area A1 a variable and pass it?...I've tried
function passa1(obj, pass)
{
rate=0.345
document.all(pass).value = obj * rate
addem()
and tried passing "A1" as pass using
onchange="passa1 (M1, A1)" but it doesn't seem to work...any help? Regards,
Anthny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
As of now I'm doing
document.all("A1".value to set the value...
Is there any way in a function that I could NAME what thing I want it to pass my information to?...
I have to pass a number, and I have to pass what should be passed along after that...(confusing part)
function passa1(obj)
{
rate=0.345
document.all("A1".value = obj * rate
addem()
I'm already getting value of 1 textbox...how could I make the area A1 a variable and pass it?...I've tried
function passa1(obj, pass)
{
rate=0.345
document.all(pass).value = obj * rate
addem()
and tried passing "A1" as pass using
onchange="passa1 (M1, A1)" but it doesn't seem to work...any help? Regards,
Anthny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"