On Thu, Sep 11, 2008 at 2:12 PM, Brandon Zacharie
<[EMAIL PROTECTED]> wrote:
> I think Jaime got it. Try taking a look at $(update[0]).length... If
> it is zero then the element was not found. As Jorn stated, your code
> is syntactically correct, but I suspect that the string, if any,
> stored in update[0]/update[1] is not syntactically correct for jQuery.
> You might have something like "foo" when you really meant "#foo" or
> ".foo"
>
> On Sep 11, 11:38 am, "Jaime Ochoa Malagón" <[EMAIL PROTECTED]> wrote:
>> 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
>



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

Reply via email to