i am trying to submit a form using jQuery and no luck.
 
I load the form first into a div. 
 
$("a.edit_user").click(function(){
 var data_id = $(this).attr('id');
  $("#loading").show(function(){
         alert(data_id);
   $("#user").load('update/user'  , function(){
    $("#loading").hide(function(){
     $("#user").fadeIn("slow");
     });
    });
   });
 return false;
  });
 
Click submit and nothing.
 
I have the form.jquery loaded from malsup.com
 
tried to even add a simple alert using window load when the form loads into
the div to say form is loaded and nothing
 
 
$('#UserUpdateForm').bind('submit', function() {
            $(this).ajaxSubmit({
                target: '#load_here'
            });
            return false; // 
 
        });
Can someone point me in the right direction or an example of what you have
that works?
 
thanks,
 
Dave 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to