Nothing obviously wrong with your code. Would you mind posting a more
complete example, eg. a testpage, and at least part of the actual
response?
Jörn
On Thu, Sep 11, 2008 at 5:20 AM, 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
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---