This code works for me in IE6/Moz/Opera. The addition of the forms
array call made it work for me. I couldn't get just
document.rentalForm.Holidays.value to work either.

<script type="text/_javascript_">
function init() {
        packageAtribs = new Object();
        packageAtribs.holidaySelection = document.forms['rentalForm'].Holidays.value;
        alert(packageAtribs.holidaySelection);
}

window.> </script>

<form id="rentalForm" name="rentalForm">
        <input type="text" name="Holidays" value="foo">
</form>

--
mailto:[EMAIL PROTECTED]
Sunday, October 5, 2003, 7:47:51 PM, you wrote:

HO> Thanks, but still shoot blanks.

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to