Add text value to jquery function (var)
<p>How can I add input text variable(value) to function(var description) ?</p>

<pre><code>$(".update").click(function()
{
var article_id=$(this).attr("article_id");
var description=$(this).attr("description");
$.ajax
({
type: "POST",
url: "conf.php",
    data: {
    article_id: article_id,
    description: description,
    },..

&lt;a href="javascript:;" class="update" article_id="$id"&gt;Description&lt;/a&gt;&lt;input type="text"&gt;&lt;/input&gt;
</code></pre>
