I hit your site with firefox 2 .. and I see 1 submit for each "your turn"
click.

But you have problems with the encoding!
(they’re
looks pretty bad!

On 2/7/07, Tom Shafer <[EMAIL PROTECTED]> wrote:

I am using the jquery form plugin and it seems to submit 3 times. I
have looked at the php code and it should be only submitting it once.
Here is the code

<script type="text/javascript">//<![CDATA[
        $('#formTurn').click(function() {
            $('#TB_window #yourTurnForm').ajaxForm({
                        dataType:  'json',
                target: '#TB_window #output',
                success:   processyourTurnForm
        });
        });
function processyourTurnForm(data) {
$("#formTurn").fadeOut("fast")
$(data.message).appendTo("#TB_window #TB_output")
}

// ]]>
</script>
Here is the page it is running on. Click on the your turn link.

http://www.tjshafer.com/mytimes/

Thanks

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to