packageAtribs = new Object();
packageAtribs.holidaySelection = document.rentalForm.Holidays.value;
if I do --
alert(document.rentalForm.Holidays.value);
I get the expected value.
But
alert(packageAtribs.holidaySelection);
gives me a blank.
While,
packageAtribs.holidaySelection = 1;
Gives me 1 on the alert.
If I parseInt() on document.rentalForm.Holidays.value, I get NaN on the alert.
To me, it should be pretty straight forward ... packageAtribs.holidaySelection = document.rentalForm.Holidays.value; should produce the expected results. I can't see, right now, any other way to get the value set that I want.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

