porting working jq1.2.6 with livequery + form to latest jq

porting working jq1.2.6 with livequery + form to latest jq

Hi Guys,

It's time for me to upgrade a significantly complex site to the latest jquery hopefully jq 1.4.2.

This code has been working well (for nearly 2 years and probably not the most optimal) on jquery 1.2.6 + livequery + jquery.forms. Trying to find the best way to port this to the jquery 1.4.2.

Not sure whether to try live() or delegate(), but would like to make sure I get good browser coverage.


            $("form.myForm").livequery(function(scope){
                var fId;
                $("form.myForm", scope).each(function(){
                    fId = $(this).attr('id');
                    $("#" + fId).ajaxForm({
                        url: "?",
                        beforeSubmit: formValidation,
                        success: unBUI
                    });
                    fId = "";
                })
            });


Any ideas ?























    • Topic Participants

    • roger