EJB entity manager remove() result in Cannot delete or update a parent row
<p>I use jquery <code>.find('input')[0]</code> which gives me a element like this </p>

<pre><code>&lt;input name='world' value='hello'&gt;
</code></pre>

<p>I want to change the value of this textfield. I then <code>find('input')[0].val('')</code>, but it gave me a type error. Any insight please ?</p>
