Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 23-03-2009
Member
 
Join Date: Feb 2009
Posts: 63
To know Onload function

hie everyone,

Can anyone explain me what is body onload function in HTML ? and how can I use it while writing HTML script ?
Reply With Quote
  #2  
Old 23-03-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: To know Onload function

<body onLoad="javascript:myScript();">

and have a script that may parse current url, do some other processing

script should look like

<script language="javascript">

function myScript()
{

//all your processing

}
Reply With Quote
  #3  
Old 23-03-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: To know Onload function

Body Onload Function is a function that is written in HTML under the body section with onload as an attribute. The javascript is written which parses the current url.
The browser triggers "onLoad" when the document is finished loading.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "To know Onload function"
Thread Thread Starter Forum Replies Last Post
Set href value using javascript at onload Jaganmohini Software Development 4 14-05-2010 09:52 AM
c# function equivalent to gettime function in javascript Omaar Software Development 4 10-03-2010 10:44 PM
How to pass function with parameters to another function in PHP? Linoo Software Development 5 27-02-2010 07:52 PM
How does abstract function differs from virtual function? Maddox G Software Development 5 29-01-2010 11:32 AM
How to use onload audio to index pages Solaris Windows Software 3 06-08-2009 10:46 AM


All times are GMT +5.5. The time now is 08:27 AM.