Hello,
I have functionality, that after HTML is loaded, JS loads data from
the server and generates same additional html (one table with many
rows). It's done in this way:
<body id="content" onload="initPage()">
Also, I have functionality, that one div element is show/hidden when
user clicks some buttons. It's done with such statements:
document.getElementById('aaa').style.display = 'block';
and
document.getElementById('aaa').style.display = 'none';
Should I've written without errors, I wouldn't notice, this issue.
When latter statement is executed, "onload" event is generated, since
initPage() function is called. Now that is strange behaviour. I've put
data loading into this function, and expected it to be called only
once. However Chrome for some reason "reloads" - that's my guess. Is
it normal situation of should I register a bug ?
--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected]
View archives, change email options, or unsubscribe:
http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---