Problem :
we have given two divs -
<div id="dashboard">
Dashboard </div> <div id="setting"> Setting </div>
From these two divisions ... I have hidden the setting division by using the following .
$("#setting").hide();
When I fresh the F5 button or refresh the page, the setting division is showing for some seconds and disappearing.
Solution :
I have tried many but nothing works.
So I have given written the following.
<div id="dashboard"> Dashboard </div> <div id="setting" style="display:none;"> Setting </div>
After writing the style to setting div , then code is working properly.
we have given two divs -
<div id="dashboard">
Dashboard </div> <div id="setting"> Setting </div>
From these two divisions ... I have hidden the setting division by using the following .
$("#setting").hide();
When I fresh the F5 button or refresh the page, the setting division is showing for some seconds and disappearing.
Solution :
I have tried many but nothing works.
So I have given written the following.
<div id="dashboard"> Dashboard </div> <div id="setting" style="display:none;"> Setting </div>
After writing the style to setting div , then code is working properly.
No comments:
Post a Comment