jquery ajax success function
<pre><code>&lt;script type="text/javascript"&gt;
                    var $stars = $("#formStars{{ item.url }}")
                    $stars.click(function(){
                        var value = $("input:radio[name={{ item.url }}]:checked", this).val(),
                            item = "{{ item.url }}",
                            user = "{{ user }}";

                        $.ajax({
                            type: "GET",
                            url: "/addvote/",
                            data: "item="+item+"&amp;user="+user+"&amp;value="+value,
                            success: function(){
                                $("input:radio[name="+item+"]").attr("disabled", "disabled");
                            }
                        });
                    });             
                &lt;/script&gt;
</code></pre>

<p>Don't work the success function, input not disabled, but if i reload the page it becoms disabled...</p>
