Troubleshooting IOL Hide function

  • 0
  • 1
  • Question
  • Updated 7 months ago
  • In Progress
I'm trying to use the IOL function to get rid of all 'Save & close' and 'Cancel' button in edit mode -- it works, but a residual blue button remains(?) 
I'm using 

$('#saveButton').hide();
$('#saveMenu').hide();
$('#cancelButton').hide();  

 functions to hide the other buttons.

Does anyone have any clue how I can get rid of this blue button? 


Photo of QB Development

QB Development

  • 330 Points 250 badge 2x thumb
  • frustrated

Posted 9 months ago

  • 0
  • 1
Photo of QB Development

QB Development

  • 330 Points 250 badge 2x thumb
never mind. got it. 
Photo of QB Development

QB Development

  • 330 Points 250 badge 2x thumb
no, it is still popping up. need help.
Photo of Chris

Chris

  • 4,430 Points 4k badge 2x thumb
#footerSaveButton, #footerCancelButton
Photo of QB Development

QB Development

  • 330 Points 250 badge 2x thumb
No go. Still not consistently hiding the button. I'm testing on Chrome. Anyone? 
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,064 Points 20k badge 2x thumb
Learn to use the inspector in Chrome Dev tools to identify the elements you want to manipulate.
$("span.Icon.DownArrowWhite").hide()

Photo of QB Development

QB Development

  • 330 Points 250 badge 2x thumb

I’ve been doing my best to locate the correct id using the developer tools, but this fella just keeps popping up.




(function(){

 $('img[qbu=module]').remove();

 $('img[qbu=module]').hide();

var querystring=document.location.search;

 if(/a=er/i.test(querystring)) {                

                $(".IconOnly, #saveButton").hide();

                $(".IconOnly, #saveMenu").hide();

                $(".IconOnly, #cancelButton").hide();

                $(".IconOnly, #footerSaveButton").hide();

                $(".IconOnly, #footerCancelButton").hide();

                $("span.Icon.DownArrowWhite").hide()

                }

 

else if(/a=dr/i.test(querystring)) {

              ... and so on