Hi
I am using a javascript. It hides some contents of that page
for some
conditions. when i go to the next page and come back to the
previous
page by clicking on the browser's back button, the hidden
contents
appears again. This is the problem with IE7.0 only. It is
working fine
with IE6.
function reportTypeChange(fName)
{
var rptTypefld = eval("document"+
"." + fName + "." +
"reportType");
if(rptTypefld.value == 4
|| rptTypefld.value == 3
|| rptTypefld.value == 5)
{
document.getElementById('hideTable').style.display='none';
}
else
{
document.getElementById('hideTable').style.display =
'block';
}
}
where 'hideTable' is the id for the row that should be
hide.
can you please suggest any solution for this problem?
Thanks and Regards
Lavee Srivastava
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Information googlegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
?hl=en
-~----------~----~----~----~------~----~------~--~---
|