Tuesday, February 28th, 2006
Ajax Plugin Released for jQuery
<>p> For all of the jQuery fans out there (or anyone, really that wants a lightweight, powerful Javascript framework), there’s been a new plugin released to integrate Ajax support into this popular package.The new AJAX plugin for jQuery is ready – and if you’re running off of the latest code, it’s already rolled in. Along with that, there are a few new effects to be enjoyed: fadeIn, fadeOut, and center. I’ve also squished a number of bugs, which have gone into this release too.
You can find out more about this new plugin over on this page of the jQuery site and, if you want more info about the framework in general, head to their main page.
Related Content:











John,I don’t know what $().load() supposed to do,but this:
function aa(){
alert("ok");
$("hh").load("b.html");
}
sss
do nothing for me.
And please post “docs” in forum section,I want to leave some comments “in place” but don’t know how.
Thanks.
Ok,it’s work but $() function return some kind of object which could not be operated directly-I mean,how I can get “real” dom object from something that returns by $().I thought you model extend but not replace standard html elements.But it seems I exchange dom on something with limited fuctionality you provide.
I don’t understand something?
Thanks.
I found get() function! But $(hh).get()[0].innerText looks not very user friendly,more nice would be $(hh).innerText if $() returns single element and $(hh)[0].innerText if it returns array.
Why you build layered object model?
Thanks.
Add these to the end of your jquery.js file they will help with DOM traversal
$.fn.element = function(i) {
i = i || 0;
return this.get(i);
}
$.fn.firstChild = function(i) {
i = i || 0;
return $(this.get(i).firstChild);
}
$.fn.lastChild = function(i) {
i = i || 0;
return $(this.get(i).lastChild);
}
$.fn.nextSib = function(i) {
i = i || 0;
for(var __next = this.get(i).nextSibling; __next.nodeType != 1; __next = __next.nextSibling) {}
return $(__next);
}
$.fn.prevSib = function(i) {
i = i || 0;
for(var __next = this.get(i).previousSibling; __next.nodeType != 1; __next = __next.previousSibling) {}
return $(__next);
}
I can get “real†dom object from something that returns by $().
for iphone mobile bingo http://www.mobile-phone-bingo.com