title: php in side jquery
body: <p>I have built a count down in jQuery so the count down will go from 5 down to 0  and when it hits 0 it will show an alert. Now i want to show a dynamic image instead of that alert.</p>
  
  <p>So here is my timer / jQuery code</p>
  
  <pre><code>&lt;script&gt;
  window.onload = function(){
      (function(){
              var counter = 5;    
              setInterval(function() {
                  counter--;
                  if (counter &gt;= 0) {
                      span = document.getElementById("count");
                      span.innerHTML = counter;
                  }
                  // Display 'counter' wherever you want to display it.
                  if (counter === 0) {
                      alert('this is where it happens');
                      clearInterval(counter);
                  }
              }, 1000);
          })();
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>So now instead of the alert I need it to show:</p>
  
  <pre><code>&lt;div style="float: right; display: inline-block; margin: 6px;"&gt;
      &lt;div class="skip_btn"&gt;
          &lt;a href="&lt;?php echo $long_url2 ;?&gt; "&gt;SKIP AD &amp;gt;&amp;gt;&lt;/a&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div style="clear:both;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Is there any way to do that?</p>