Forum Discussion

QBDevelopment's avatar
QBDevelopment
Qrew Cadet
6 years ago

Troubleshooting IOL Hide function

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? 


6 Replies

  • No go. Still not consistently hiding the button. I'm testing on Chrome. Anyone? 
  • Learn to use the inspector in Chrome Dev tools to identify the elements you want to manipulate.
    $("span.Icon.DownArrowWhite").hide()

  • 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