js generated form
<p>I have a js generated form (i.e. I echo a form from js code). </p>

<p>So I wrote a submit handler that is activated when that form is submitted using:</p>

<pre><code>$(document).ready(function(){
$('#form-coures').submit(function(event){
</code></pre>

<p>At least this is what I want to achieve. </p>

<p>The issue here is that when I submit that form the handler isn't called?!</p>

<p>Any ideas?</p>

<p>Note: if I define that same form not through js everything works fine.</p>
