How to write a pop up window function?
<pre><code>$.ajax({
    //....
    success: function() {
    },
</code></pre>

<p>On <code>success</code> I want to pop up a fixed height and width window. There is a closed single locates on the window right angle. I did as the following, but it doesn't work.</p>

<p>I add a <code>div</code> which has a class named <code>success-tip</code>. I add some style to it and hide it at first. Then I use the following:</p>

<pre><code>$.ajax({
    //....
    success: function() {
        success();
        $('.success-tip').show();    
    },
</code></pre>

<p>It doesn't pop up. What do I need to do to my code? Thanks in advance.</p>
