pancakes wrote:
> I have searched around for some answer to this and I have a feeling I
> could make it work using bind(), but I'm not sure - I'm not exactly
> understanding the examples and explanations in regard to my example.
>
> I am returning a json object from the server/ajax. I am buildin
fyi - this works great! In my case, I am simply looking for a
reference to the attributes of the json object that was returned - but
thanks for the comments.
here's how I used this technique (a simplified version where we
populate an img tag with a thumbnail - which can populate another
block wit
Hi again,
I will just mention that if you start using logic objects and such on
the client side where the handler is a "method" of the logic object,
then this becomes more problematic, since you have two different
things you want to do with "this": Refer to the logic instance, and
refer to the '
that's great. thanks - I'm glad I was on the right track there. This seems
very useful for dealing with ajax data.
On Fri, Oct 17, 2008 at 3:33 PM, T.J. Crowder <[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> > Is this what bind() is for? Can I *bind* my json object to a function
> > that refers back to
Hi,
> Is this what bind() is for? Can I *bind* my json object to a function
> that refers back to the original object?
FWIW, I'd say it's a clever use of bind(). The question of whether
it's what bind() is *for* is kind of moot. (I'd say, on balance, yes
it is -- bind() is for binding functio