Create popup box success message with jquery and PHP
<p>How to create a popup box success message with jquery and PHP after submitted without ajax?
I usually using only javascript,</p>

<pre><code>&lt;?php 

  $query = //my query insert query
  if($query){
      echo "&lt;script&gt;alert('success submitted');&lt;/script&gt;"; // my popup box success message
  }

?&gt;
</code></pre>

<p>any suggestion for this? I hope to make it jquery so it looks nicer. Thanks</p>
