Ryan, the prototype for a $.post is

  $.post( url, data, callback, type )

Looks to me like you've got the fourth parameter in the first
position.


**--**  Steve


On Mar 28, 11:45 pm, Ryan Meinzer <[email protected]> wrote:
> Thanks for the reply Steve, I understand the concept, but not the
> implementation.  Where do I put this?
>
> Currently, here is what I run to catch the form submt:
>
>             $(document).ready(function() {
>             $('#myForm').ajaxForm(function() {
>             $("#myForm").submit(sendForm);
>
>             });
>             });
>
>             function sendForm() {
>             $.post('action',$("#myForm").serialize(),function(data,status){
>       $("#result").html(data)
>    });
>    return false
>
> }
>
> It submits no problem, and doesnt refresh or anything, but the page just
> sits there, mostly, I think, because of the return false, so I need to load
> it prior to that.
>
> On Sat, Mar 28, 2009 at 9:35 PM, Steven Black <[email protected]>wrote:
>
>
>
> > See
> >   .tabs( 'load' , index )
>
> > **--**  Steve
>
> > On Mar 28, 3:19 pm, Xnuiem <[email protected]> wrote:
> > > Using PHP, but I am trying to do this client side.
>
> > > On Mar 28, 1:08 pm, "[email protected]"
>
> > > <[email protected]> wrote:
> > > > What are you using on the server side?
>
> > > > On Mar 27, 1:35 pm, Xnuiem <[email protected]> wrote:
>
> > > > > Ok, I imagine this has been answered, but I cant find it.
>
> > > > > I have a tab, that loads a list of users.  when you click on a
> > > > > username, it brings up a form, inside the tab.  When you submit that
> > > > > form, it submits the form using ajax, no problem.
>
> > > > > But there is where I am stuck.  How do I make the content of the tab
> > > > > reload back to the original content, ie the user list?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to