oliveto
07-02-2003, 12:10 PM
I've got a form that works great on all my needed browsers except IE 5 for MAC. I'd like it to work there as well.
The following code is executed upon form submission.
function concatPhones()
{
document.register.numbOffice_phone.value = ([document.register.numbOffice_phone.value] + [document.register.xOffice_Phone2.value] + [document.register.xOffice_Phone3.value]);
document.register.numbMobile_Phone.value = ([document.register.numbMobile_Phone.value] + [document.register.xMobile_Phone2.value] + [document.register.xMobile_Phone3.value]);
document.register.numbFax.value = ([document.register.numbFax.value] + [document.register.xFax2.value] + [document.register.xFax3.value]);
}
The form submits fine with no javascript errors that are visible, however the statements are not executed. How can I detect ie5/Mac and then reference these values for that browser?
Thanks for any help.
The following code is executed upon form submission.
function concatPhones()
{
document.register.numbOffice_phone.value = ([document.register.numbOffice_phone.value] + [document.register.xOffice_Phone2.value] + [document.register.xOffice_Phone3.value]);
document.register.numbMobile_Phone.value = ([document.register.numbMobile_Phone.value] + [document.register.xMobile_Phone2.value] + [document.register.xMobile_Phone3.value]);
document.register.numbFax.value = ([document.register.numbFax.value] + [document.register.xFax2.value] + [document.register.xFax3.value]);
}
The form submits fine with no javascript errors that are visible, however the statements are not executed. How can I detect ie5/Mac and then reference these values for that browser?
Thanks for any help.