CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 JSP: window.onload doesn't work always

Print topic Send  topic

Author Message
sudheer

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

codecharge ver 2.3.2.24
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?

-Sudheer

View profile  Send private message
LH_13

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
matheus

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
www.dynamix.com.br
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 http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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