Hi all,
I was creating a custom resource to display tables of business hours. I created a button to convert between two time zones. Is there a way to prevent the javascript button from refreshing the whole Solarwinds web every time the button is clicked? The script code is shown below. It should only be showing and hiding tables or buttons, but instead refreshes the Solarwinds page, reverting back to the default view in the custom resource. Is there a way to shut off this auto refresh in Solarwinds?
Thanks.
____________________________________________________________________________________
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#EST").click(function() {
$(".IST").hide();
$(".EST").show();
$(".EST_Button").hide();
$(".IST_Button").show();
});
$("#IST").click(function() {
$(".EST").hide();
$(".IST").show();
$(".IST_Button").hide();
$(".EST_Button").show();
});
});
</script>