i think i am having the similar problem as yours.
I have used live to make clickable the dynamically added elements as
below.
$(".addressDiv span").live("mouseover", function(){
//clickable function here..
});
But the problem is that once the dynamically ad
> confusing test. You are reloading page into itself.
Yes, what's wrong?
> Clicking on links keeps working so not sure how this demonstrates how live()
> not working
I'm using firefox 3 (not tested in other browsers). So try do the
following steps in firefox:
1. Open http://bestyle.org/jquery-li
confusing test. You are reloading page into itself. Clicking on links
keeps working so not sure how this demonstrates how live() not working
the bug ticket code from your original post is ridiculous and with a
little tweaking works fine also, no wonder it got invalidated
Anton wrote:
> Can you give us an online sample of it?
Ok, I made a test-case: http://bestyle.org/jquery-live-test/
This is small html page, generated in php. Source code in
http://bestyle.org/jquery-live-test/index.txt
When you first time clicking the link, it will reload content via
ajax. Second click is not
bind() is less convenient then live(), it's like 'custom way', but,
yes, I'll use bind() too if I not find good solution with live().
On 30 июн, 12:38, waseem sabjee wrote:
> I would suggest using.bind()
> in my experience .live() is not very IE friendly
>
> On Tue, Jun 30, 2009 at 10:36 AM, An
I would suggest using.bind()
in my experience .live() is not very IE friendly
On Tue, Jun 30, 2009 at 10:36 AM, Anton wrote:
>
> Mean Mike, I did wrote you answer but it was not posted for some
> reason.
> That selector means that it will select all with no onclick
> attribute associated.
> So
Mean Mike, I did wrote you answer but it was not posted for some
reason.
That selector means that it will select all with no onclick
attribute associated.
So I try to 'ajaxify' all links on a page with my own handler. This
handler will load page via $.ajax, extract part of it by specified id
and
that looks cool, Ricardo. Could one of you explain the selector syntax
to me ?
On Jun 29, 4:59 pm, Ricardo wrote:
> Should work, see this example:http://jquery.nodnod.net/cases/444
>
> Is your page in quirks mode? Can you give us an online sample of it?
>
> On Jun 29, 7:08 am, Anton wrote:
>
>
Should work, see this example: http://jquery.nodnod.net/cases/444
Is your page in quirks mode? Can you give us an online sample of it?
On Jun 29, 7:08 am, Anton wrote:
> I found the bug ticket with similar problem:http://dev.jquery.com/ticket/4762,
> but it was closed as invalid. The problem st
I'm having a hard time reading your code i"m not sure what your trying
to do
but this is how I always have used 'live'
[code]
$(".remove").live("click",
function() {
$(this).parent().hide("blind",{},500);
$(this).parent().remove();
});
[/code]
'.remove' is my class se
10 matches
Mail list logo