$(document).ready(function() {
        $('#UserUpdateForm').bind('submit', function() {
                        var numRand = Math.floor(Math.random()*100000);
                        var queryString =
$('#UserUpdateForm').formSerialize();
            $(this).ajaxSubmit({
                                type:                   'post',
                                url:
'/joesmith/update/systems/' + numRand ,
                                data:                   queryString,
                target:                 '#systems',
                                //success:      function()
{$(this).fadeOut("slow")} 
            });
            return false; // <-- important!
        });
});

-----Original Message-----
From: Miles J [mailto:[email protected]] 
Sent: June-03-09 12:53 AM
To: CakePHP
Subject: Re: Security Component and AJAX


Can I see your js ajax code.


--~--~---------~--~----~------------~-------~--~----~
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