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