Here are the descriptions for the Ajax methods:
load -- Loads HTML from a remote file ...
ajax -- Load a remote page ...
get -- Load a remote page...
getScript -- Load and execute a local javascript file...
post -- Load a remote page...
So, if we want arbitrary HTML we have to use "load", but if we want a whole "page" (where is that defined?) we have to use "ajax", "get" or "post"? The "execute script" function (called getScript for some reason) only works with local "files"? I believe it will work with any URI (local or remote) returning JavaScript (assuming same origin policy of course), and whether it came from a file isn't known to the caller. These functions should describe the type of HTTP request they make, and skip references to "pages" and "files".
I do not see a link that would allow me to copy the documentation. I want to have it local so I can work disconnected from the 'net. Spidering the tree off the website seems a bit much. Did I miss it?
I could not find each() in jQuery's documentation. Could it be included there, as I was browsing all the features to find out what exactly is the collection of elements returned by the many JQuery functions and how to be able to access and manage each of them separately, but could not find a page for "each" anywhere (which I found on some tutorial later).
Is it just me, or can no one else see the content of the documentation pages?All I get is a blank window. I've tried multiple browsers on multiple computers with no difference.
Is it possible to download the jQuery API documentation to my local hard-drive? If so, I don't need to connect the Internet every time when I want to refer the API docs.
I'm getting a database error trying to access the validate plugin documentation. [URL] Error: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)".
Has anyone seen a great tutorial on how to use the dom to properly parse an xml document? I was hoping to find something in depth that might show maybe via a pictorial how child nodes and node data etc relates to an example xml document.
We have a JavaScript SDK with lots of classes and functions. We would like to generate automatic HTML documentation from it to our users. We look for a free tool, something like Doxygen, that knows how to handle JS code.
Where can I go to find documentation about client side properties and methods of an asp:listbox controls. I need to access the control at client side but can not find any documentation of the properties and methos available a client side.
Are there any good web UI component libraries -open source or commercial - that you can recomment? They need to be cross browser compatible and have good documentation. Jquery UI is very good but limited in number of controls it offers. YUI is very verbose and very hard to use. extJs only other one I can think of. Any others you use and like?
I have been trying to discover why the first() and last() methods are not working in my jQuery 1.2 nor 1.3 tests. After searching for a while, I found the alternative way with filter() and eq(), but I still wonder why none of those methods work.
The API documentation [URL]... states that they are available since 1.2, but they won't work, I always get a "not a function" error. I also found a tracker entry [URL].. discussing the need for them, but nothing is clear from it.
HTML5 brings two new methods to the js selector API: querySelector() and querySelectorAll(). These methods can be used to match elements against a group of selectors. I think, a lot of the functionality overlaps with jQuery selectors. My guess is that these new methods will be a few times faster than jQuery selectors because they are natively implemented. My question is, how will jQuery use these additions to the js selector API? Will jQuery selectors just encapsulate these new methods? If so, is this work in progress or..
I transorm it to autocomplete widget$('#f').autocomplete()How to access widget's methods and properties by id of the field?I need to access initialized widget to call some of its methods, modify properties etc.
I've previously written an image carousel with lightbox and to be honest forgot about it for quite a long time. I've just been tasked with making a few modifications (I wrote this code about 6 months ago)
Now, the problem I have is that I now need to call the internal method from the ligthbox plugin.
I've tried setting a reference to this like this but it just won't play ball. I can see that the ajax feed gets called but unfortunately I can't then access it.
I'm trying to use delay() before changing the html contents of an object.Eg. myobj.text("Hi There").fadeIn().delay(2000).text("Bye!").fadeOut();The result of this is that it just shows "Bye!" then fades, without any delay. So delay() seems only to work only with effects methods (fade, etc) not with other methods.Is there any way of getting around this and making a pause between any type of method in a queue?
I am pretty excited in creating multiple methods within a single plugin. But how do we access a particular set of objects from any given method? Here is what I have so far and all i want to do is access the objects 'location' and 'background' when the DOM is ready...
*jquery plugin*/ (function($){ //call multiple functions inside of one large plugin that do different things! var methods = {