here is the response, it seems to me that thr callback isnt fireing
unit_long1|<ul class="unit-rating" style="width:150px;">
<li class="current-rating" style="width:90px;">Current rating.</li>
<li class="r1-unit">1</li>
<li class="r2-unit">2</li>
<li class="r3-unit">3</li>
<li class="r4-unit">4</li>
<li class="r5-unit">5</li>
<li class="r6-unit">6</li>
<li class="r7-unit">7</li>
<li class="r8-unit">8</li>
<li class="r9-unit">9</li>
<li class="r10-unit">10</li>
</ul>
<p class="voted">1. Rating: <strong>3.3</strong>/5 (3 votes cast)
<span class="thanks">Thanks for voting!</span></p>
On Sep 11, 8:16 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> 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
-~----------~----~----~----~------~----~------~--~---