live on là gì|What's the difference between jQuery

I have a to event. After Doing to of I am doing using 1.8.3

Turn ON a flag using when is

$(‘a’).live(‘click’hack bunny live,() { = false;});

Turn ON a flag using when any time input type of is

$(“input[type=]”).live(‘click’live on là gìlive on là gìlive on là gì|What's the difference between jQuery,(){alert(‘input ‘);=false;});

Turn ON a flag using when any time form

$(‘form’).live(”live on là gìlive on là gìlive stream fb trên pc, () { = false;});

Now thing…my only works if I use .live .on. If I use .on then the event gets fired after form gets and which is too late. Many times my forms gets using call (.form.)

So there is a key .live and .on . If you use .live your get fired but if you to .on it doesn’t get fired on time

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *