how to show close icon after 5 seconds

  • Profile Image
    Asked on November 15, 2013 at 05:29 AM

    I'm trying to hide the close icon and show 5 seconds later. hiding works with css aplied as:

    but i can't show it again with javascript timer can you please give a clue where the things mess up. i'm suspicious about the id name which i guess ".jt-feedback" may be wrong.

    thanks in advance.

    <style> .jt-feedback div img { display: none; } </style>
    <script type="text/javascript">
    window.setTimeout("Tick()", 5000);
    function Tick() {document.getElementById(".jt-feedback").style.display="block";


    the sample page is at


  • Profile Image
    Answered on November 15, 2013 at 06:50 AM


    Can you please guide us how to view your form?

    I could not seem to find a an embedded JotForm form from this website

    Will await your updated response.


  • Profile Image
    Answered on November 15, 2013 at 08:59 AM


    you can see the form all over this site:


    the close icon has no id nor class name. so I'm not able to access it from javascript. As you can see from css code , close button is a img which is in a div which is in  another div with class 'jt-feedback'.

    how can I access that img at runtime?

  • Profile Image
    Answered on November 15, 2013 at 11:43 AM

    Sorry, But I am seeing the same problem my colleague is mentioning. The only thing I was able to find is what appears to be a Pop-up Form which has our overlay but I am unable to translate what's inside it to then locate the forms since upon clicking on them it then only reroutes me to your facebook page. 

    This screenshot show's our overlay that we normally see where our forms are being used for us. So this is the closest that I can find to this though I don't see any forms being shown.



    Are you referring to closing this box maybe then? The close button actually has a Span ID which is "         "

  • Profile Image
    Answered on November 15, 2013 at 11:48 AM

    Pardon, that was incorrect sorry about that. That close-bar is something only our Support Team can see, my fault. Please disregard that part although there should be another way around this to resolve this. 

    Is this the window you are trying to close and are unable to do so though?

  • Profile Image
    Answered on November 15, 2013 at 02:30 PM

    yes this is the window. it does not have a form at the moment. we will add form later but now we want to use this page.

  • Profile Image
    Answered on November 15, 2013 at 04:43 PM


    Please try to use this Javascript code. It contains 2 functions 1 to show and 1 to hide the close button from the feedback button.

    Please take note the code section where it says:

    document.getElementById('jotform-feedback-33174760911958').onclick = function() {

    You should change the highlighted part with your form ID. Also take note that due to possible server lags this does not check the form page load if it is completed, if you want to achieve 5 seconds please double it and put 10000 as the value in this code:

    setTimeout(function() { showFeedbackCloseButton(); }, 10000);

    Please let us know if you need further assistance. Thank you