Nov 8, 2000 #1 natusik Technical User Oct 19, 2000 3 US Can someone explain the difference in outcome of these two: Code: window.onload=Draw(obj) and Code: <script Language="JavaScript" FOR="window" EVENT="onLoad()"> Draw(obj) </script>
Can someone explain the difference in outcome of these two: Code: window.onload=Draw(obj) and Code: <script Language="JavaScript" FOR="window" EVENT="onLoad()"> Draw(obj) </script>
Nov 9, 2000 #2 NickBulka Programmer Aug 10, 1999 832 US I don't believe the latter example will work in Netscape. nick bulka Upvote 0 Downvote
Nov 18, 2000 #3 clarity Programmer Oct 29, 2000 9 AU It is far easier to put an onLoad event into body tag ie: body onLoad="draw(obj);" ----------------------------------- Evil lurks in the net in the guise of protocols. clarityclaire@optushome.com.au Upvote 0 Downvote
It is far easier to put an onLoad event into body tag ie: body onLoad="draw(obj);" ----------------------------------- Evil lurks in the net in the guise of protocols. clarityclaire@optushome.com.au