is the update[0] have an '#'?
On Wed, Sep 10, 2008 at 10:20 PM, Tom Shafer <[EMAIL PROTECTED]> wrote:
>
> I am getting a data response from post in the form of
>
> variable1 | variable2
>
> I am having trouble splitting these and applying each value to where
> its needed
>
> $.post($(this).attr("href")),{},
> function(data)
> {
> update = data.split('|');
> $(update[0]).replaceWith(update[1]);
>
> };
> return false;
>
> Thanks
>
> Tom
>
> >
>
--
Perhaps the depth of love can be calibrated by the number of different
selves that are actively involved in a given relationship.
Carl Sagan (Contact)
Jaime Ochoa Malagón
Arquitecto de Soluciones
Cel: +52 (55) 1021 0774
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---