Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 13 Jun 2006 16:07:57 -0400,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Re: onLoad Question   
Thanks Igor,

What If I need to call a function in click event?
Like "expandTree ('tree1', '22'); return false;"

Sorry if this question is silly,

TIA,

Sunny

"Igor Tandetnik"  wrote in message
news:%23e4Gu9wjGHA.4276@TK2MSFTNGP03.phx.gbl...
> Sunny  wrote:
>> I have situation which requires a page to load and call a "onClick"
>> event Instead of "onLoad" event.
>> How can I tweak a page to do this.
>
> <body onload="document.body.click()">
>
> -- 
> With best wishes,
>    Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>
>
date: Tue, 13 Jun 2006 16:07:57 -0400   author:   Sunny

Re: onLoad Question   
Sunny  wrote:
> What If I need to call a function in click event?
> Like "expandTree ('tree1', '22'); return false;"

So call it. I don't understand what seems to be the problem.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Tue, 13 Jun 2006 16:29:31 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us