CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> Java

 JSP: window.onload doesn't work always

Print topic Send  topic

Author Message

Posts: 11
Posted: 10/06/2006, 2:02 PM

codecharge ver
Code language: JSP1.1 JDK1.3

The window.onload = bind_events call doesn't seem to be working all the time.
When I try to submit the editable grid or Record, the Confirmation dialog for submit doesn't appear all the times.
After spending lot of time researching what could have went wrong, It seemed to be the 'bind_events' function is not getting registered to onload event.
I tried with alternatives like using the call in onload event of body
ex: <body onload="bind_events"...>.
But no luck.

Calling the bind_events() at the end of the page does seem to be working.

I am not sure if this is a browser DOM issue or a codecharge issue.
Has anyone ran into this problem before? Any work around?


View profile  Send private message

Posts: 30
Posted: 10/24/2006, 4:46 AM

It's not JavaScript forum.
It's CCS java forum.
Sorry my english!
View profile  Send private message

Posts: 386
Posted: 10/24/2006, 5:21 AM

Take a look in you doesn't add another code to load page.

Sometimes need put <body onload=" your_method(); bind_events();" to work.
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.