In an existing web form 2010 application, when any part of the web page was changed, the entire web page would be reloaded. Now after I change I made to the application the following is occurring:
The entire page gets reloaded whenever a button or a link is clicked on. When this occurs, the bottom portion of the entire lower half of the web page is displayed for a few second and then goes away. The item goes away (is not visible) when the javascript hide function is called.
I have no idea of what could be causing this problem. Is there some kind of property I can set to invisible in javascript to get rid of this problem?
Do you have any ideas of what I can do to solve the problem?
Delpin Susai RajPosted Sep 26, 2016, 10:56 AM
Delpin Susai RajPosted Sep 26, 2016, 10:55 AM
var x = document.getElementById('myDIV');
if (x.style.visibility === 'hidden') {
x.style.visibility = 'visible';
} else {
x.style.visibility = 'hidden';
}
}
Delpin Susai RajPosted Sep 26, 2016, 10:54 AM
document.getElementById("myP1").style.display = "none";
}
function demoVisibility() {
document.getElementById("myP2").style.visibility = "hidden";
}
Ramesh PalaniappanPosted Sep 26, 2016, 10:51 AM
Krishna Rajput SinghPosted Sep 26, 2016, 2:28 AM
Midhun TpPosted Sep 25, 2016, 10:16 PM
Why and where are you calling the javascript hide function?
Please post your javascript function for a better understanding.