Hello All,
I have a wonderful application that runs perfectly in Firefox, but has some
issues with IE 6. Here is one of my issues:
I have a table component which has a checkbox column. Every time I click on
a checkbox, the page apparently round-trips to the server. I can see it
re-downloading images etc. On Firefox, Firebug shows NO activity. This is
what I expect. On IE 6, I am wondering why it round trips to the server. The
code for the selection is based on the work done by Winston Prakash on his
blog. It is simple Javascript.
function initAllRows() {
// Disable table actions by default.
var table = document.getElementById
("form1:layoutPanel1:table1");
table.initAllRows();
}
function disableActions() {
// Disable table actions by default.
var table = document.getElementById
("form1:layoutPanel1:table1");
var selections = table.getAllSelectedRowsCount();
var disabled = selections > 0 ? false : true;
// Set disabled state for top actions.
document.getElementById
("form1:layoutPanel1:table1:groupPanel1:submit").setDisabled(disabled);
document.getElementById
("form1:layoutPanel1:table1:groupPanel1:delete").setDisabled(disabled);
}
Does anyone have any thoughts on how to prevent IE from doing this? I have
users which are on a VPN tunnel using wireless cellular cards, and this
results in very poor performance. Again, it works exactly as expected on
Firefox, but I don't have a choice on browsers.
Thanks,
--
John Yeary
--
"If I have seen further, it is because I have stood on the shoulders of
giants..." Sir Isaac Newton