[thelist] DW code - why "return XXX" within onLoad?

David Prowak prowak at yahoo.com
Fri Dec 29 15:20:08 CST 2000


Hi,

I'm beginning to work with DW3, and I'm peeking at the
code as I go along.

If I utilize the built in behavior to set the text of
the status bar using the onLoad event, the code reads:
<BODY BGCOLOR="#FFFFFF" 
   onLoad="MM_displayStatusMsg('It\'s about time you 
showed up here!');return document.MM_returnValue">

Why the return document.MM_returnValue?  I thought the
return used in this manner only made a difference when
used with the onClick event handler.

TIA & Happy New Year,
Dave

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/




More information about the thelist mailing list