How to stop invitation to pop up when customer is already chatting with Agent? Tried in below way but no luck

<div id="liveagent_button_online" style="display: none; border: 0px none; " >

        <img id="liveagent_enabled_button" 
            style="width:200px; cursor: pointer"

        function startChatting(){
           var divdiv = document.getElementById('liveagent_invite_button_ID');
           divdiv.style.display = "none"; 

 <div id="liveagent_invite_button_ID" style="display:none;"> 
     ---Invitation Code----
  • No luck with this problem? – Acuariano Jan 30 '19 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.