Calling JavaScript within Php block and vice-versa
<pre><code>echo "&lt;a href=#&gt; Delete &lt;/a&gt;";
</code></pre>

<p>Whenever a user hits Delete, a javascript function should be called for confirmation. Somewhere in the Javascript function, php code should be used for delete operation. How do I do that? Use something like "some php code goes here" and "some javascript function();" for me to know where to put what. Thanks.</p>
