Hi!

I have this code:


                $("form.uplform").live('submit', function(){
                        if($(this).attr('validate')=='true'){
                                $("#testform>input").each(function(){
                                        alert($(this).attr('name'));
                                });
                        }
                        return false;
                });


What I'm trying to achieve is alert all the name attributes of all
input boxes belonging to form.uploform but this does not seem to
happen. although i did get past if validate==true thing..

Please tell me what i am doing wrong..

Thanks in advance

Reply via email to