hi,

I'm using the form plugin and jQuery-1.0.3 submit a form.
Everything works sweet until I added another event for tags link.
The code generated like this:

{{{

<!-- It works when we remove this -->

<script type="text/javascript">
//<![CDATA[

$(document).ready(function(){
                $("#quickForm p.tags a").click(function(e){
                                add_value_by_link("fe_tags", e, $(this));
                        });

        function add_value_by_link(targetId, e, jObject) {
                e.preventDefault();
                
                //BLAH BLAH
                
        }
});

//]]>
</script>

<!-- original part, can't working anymore when above added -->
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
        $('#quickForm').ajaxForm({after: function(responseText) {
        console.log(responseText);
        $('#commentContainer').append(responseText);
}});
});
//]]>
</script>

I can't figure it why, anyone can help?

tnx

-- 
Regards,
epaulin

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to