| View previous topic :: View next topic |
| Author |
Message |
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 627 Location: Cebu City Philippines
|
Posted: Tue Jun 24, 2008 10:00 am Post subject: Processing two onload function from hazrizal84 |
|
|
This was sent to me via PM, and thought I would share the solution in the public forum
| Quote: |
hi sir..may i ask u smthing..?
if there are 2 window.onload statements in a single page, how can we make both of them functioned?
i have window.onload = startBlink; and window.onload=function() {}
can u help me sir?..
|
You can do it like this:
| Code: |
window.onload=function()
{
//Whatever codes here
startBlink();
}
|
See if it helps.
P.S. Don't use PM, this is a public board and members
might have the same problem as yours. |
|
| Back to top |
|
 |
|
|
hazrizal84
Joined: 10 Jun 2008 Posts: 15
|
Posted: Wed Jun 25, 2008 12:48 am Post subject: Re: Processing two onload function from hazrizal84 |
|
|
| thank you very much sir...u really help me.. |
|
| Back to top |
|
 |
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 627 Location: Cebu City Philippines
|
Posted: Wed Jun 25, 2008 1:25 am Post subject: Re: Processing two onload function from hazrizal84 |
|
|
No problem, glad I could help  |
|
| Back to top |
|
 |
|