Hi, 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. Any help is appreciated. TIA, Sunny
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
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 > >