how can i'd like to force an error after an ajax call, and work with
json array returned.
how do i do this?
hi, in my case the element is selected with an i id, so i guess it's
found relatively quickly. but this div is about 800 html lines
(doesn't mean anything but i can't count tags). In fact i just made
some ajax pagination inside the div.
On Mar 6, 3:00 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote:
hi, when i work on a big div tag (containing lots of others elements)
browser freeze, during few seconds.
is there a way to optimize this.
and more generally what are the best practices to optimize jquery
functions.
hi, i try to select every element that is not children of another div.
i tried different ways but didn't find a solution.
regards
Hi, i'm trying to do a function on blur event, it works on Firefox but
not on IE. what's the reason?
I just do this:
$('.down_menu.show').livequery('blur', function(){
$(this).removeClass('show');
});
Maybe i should precise i'm using jquery 1.2.1
please i really need help, i can't tottally remove prototype.js from
my rails app if i can't send ajax request with datatype: 'script' and
type POST. i just want to know if it's possible or not.
On Dec 3, 4:00 pm, "Jean-Sébastien" <[EMAIL PROTECTED]>
(i post this message again i've posted it 2 hours ago but it didn't
appear yet.)
in jquery doc is written : warning "script" will turn posts into gets
so, is there a way to send POST or DELETE or PUT ajax query with
datatype: 'script'?
regards
on jquery, is sayed (about dataType='script'): # warning "script" will
turn posts into gets .
Is there another to have a dataType='script' and force POST, or PUT or
DELETE ?
regards
i want to send an ajax query in which i pass the element to update:
$.ajax({url: _href,data: "rel=" + escape("#myId a.myClass")})
On Nov 27, 8:58 am, Suni <[EMAIL PROTECTED]> wrote:
> I dont think there is any easy way to do that.
>
> A single DOM element could have 10 different selectors that m
hi suni, want to send an ajax query, in which i tell the dom element
to update.
On Nov 27, 8:58 am, Suni <[EMAIL PROTECTED]> wrote:
> I dont think there is any easy way to do that.
>
> A single DOM element could have 10 different selectors that match it
> (or others with it). Such a function cou
I'm sure it's a simple question, but i'm looking in the api but don't
find it.
How do i convert my selected element to a string? something like :
"#myId a.myClass"
>
> });
>
> And if you do
> $('div').func(); // alerts 'plugin' -- no namespace
> But
> $('div').mynamespace().func(); // alerts 'namespaced plugin'
> And
> $('div').mynamespace().func().$().func(); // alerts 'namespaced
>
tion() {
>// do something with elements
> });
> }
>
> });
>
> would do something with all the selected elements via test. $
> ('div').test()
>
> /James
>
> On Oct 27, 8:49 pm, Jean-Sébastien <[EMAIL PROTECTED]>
> wrote:
Hello,
i want to call a function $('#selection').parent.child()
with the following code :
jQuery.fn.extend({
parent: {
child: function(o){ doSomethingWith(selectedElement) }
}
});
but i dont know how to pass the selected element through parent
(#selection) to child function.
regards.
14 matches
Mail list logo