javascript onclick delete not working
<p>Why is it that my onClick won't work? </p>

<p>When I click I get an error message like this:</p>

<pre><code>syntax error : identifier starts immediately after numeric literal
</code></pre>

<p>It will not determine the ID from the database, the database ID is varchar(50).</p>

<pre><code>&lt;a href='#' id='delete' title='Delete' class='icon-2 info-tooltip' onclick='delete_Affiliate(".$row['affiliateid'].")'&gt;&lt;/a&gt;

&lt;script type="text/javascript"&gt; 
    function delete_Affiliate(id){
        alert(id);

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