Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: onblur fails in Firefox, Opera and IE&



I've seen document.all and document.forms and occasionally document.formname, but I've only ever really bothered with the W3C stuff myself. From what I gather from Quirksmode, it seems that the mozilla folks decided to drop support for the netscape dom (which provides document.forms and document.namedForm)...


Often when puzzled about what I've managed to screw up, I'll utilize the old standby alert(); to see if for instance alert(document.request_form) is an HTMLFormElement or null or etc... usually this reveals a typo somewhere or some sort of stack/scope fallacy I've made :-D

On Apr 6, 2008, at 9:57 AM, Robert Poland wrote:
Thanks Errol,

That will make a useful tool.

Curious that the statement "document.request_form.i_name.value" doesn't get a value.


On Apr 6, 2008, at 7:56 AM, Errol Sayre wrote:
function copy_Name()
{
try
{
document.request_form.i_name.value = print_name.value;
}
catch (e)
{
alert(e);
}
}

Bob Poland - Fort Collins, CO




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden

References: 
 >onblur fails in Firefox, Opera and IE& (From: Robert Poland <email@hidden>)
 >Re: onblur fails in Firefox, Opera and IE& (From: Errol Sayre <email@hidden>)
 >Re: onblur fails in Firefox, Opera and IE& (From: Robert Poland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.