I didn't know that. Thanks for the correction.
John
On Sat, Dec 5, 2009 at 11:59 PM, Karl Swedberg wrote:
> On Dec 5, 2009, at 10:47 AM, John Imbong wrote:
>
> Yes, the *live *function should do it. In case that still won't work for
> you, just work up the vine and install the plugin *livequery
Two ways. One is to extend your ajax callback to un-bind all existing
button handlers and then re-bind them now that your new content has
been inserted.
OR the elegant way; use the .live method instead of .bind, it is
designed for just such occasions.
http://docs.jquery.com/Events/live#typefn
go
Thanks for the suggestion. The similarity between the .live() example
in the jquery documentation and my sample situation is uncanny. I'll
give it a shot. I'm trying to avoid adding too many plugins to the
site, but livequery looks intriguing as well.
Thanks again.
On Dec 5, 7:59 am, Karl Swedber
On Dec 5, 2009, at 10:47 AM, John Imbong wrote:
Yes, the live function should do it. In case that still won't work
for you, just work up the vine and install the plugin livequery
instead, which is where live came from.
John
Actually, the .live() method didn't come from the livequery plug
Yes, the *live *function should do it. In case that still won't work for
you, just work up the vine and install the plugin *livequery *instead, which
is where live came from.
John
On Sat, Dec 5, 2009 at 10:41 PM, jpcozart wrote:
> Check out the live function. It can solve this problem.
>
> http
Check out the live function. It can solve this problem.
http://docs.jquery.com/Events/live
On Dec 5, 2:38 am, mysterious79 wrote:
> This probably isn't a jquery question precisely, but jquery is being
> used as my method for making ajax requests.
>
> I'm running into a recurring problem where fu
6 matches
Mail list logo