Use jquery on if validation of simple Js
<p>I have this lines of code</p>

<pre><code> if (document.getElementById("nosok").value==""
    ||document.getElementById("hnosok").value=="0")
  { 
    $( function() {jAlert("blabla!", "blabla")});
   return false;
  }
</code></pre>

<p>The trouble on IE is that the modal window doesn't close after clicking the OK button and further more it spreads on the full width of the page.</p>

<p>I just wanted to replace the alert() line and hence losing the ugly pop up box with jquery's more elegant way.</p>

<p>Any ideas?</p>
