Can anybody pls convert this javascript code to jquery
<pre><code>&lt;script type="text/javascript"&gt;

        function checkData(id)
        {
            document.frmAddProduct.hidActionId.value = id;

            document.frmAddProduct.submit();

        }
    &lt;/script&gt;
</code></pre>
