X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=011ea36275249689131d4cc9eccb02a894c6fccd;hb=382a7ecd6d8e9a39bf24cec81fd65971ef3f8ada;hp=83711def941560677c6b6006c67bfdcedd332f16;hpb=729396e6cfb1a0495399609f5929fb630a49649d;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 83711de..011ea36 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -320,17 +320,17 @@ jQuery.fn = jQuery.prototype = { * Returns -1 if the object wasn't found. * * @example $("*").index( $('#foobar')[0] ) - * @before
+ * @before
* @result 0 * @desc Returns the index for the element with ID foobar * - * @example $("*").index( $('#foo')) - * @before
+ * @example $("*").index( $('#foo')[0] ) + * @before
* @result 2 - * @desc Returns the index for the element with ID foo + * @desc Returns the index for the element with ID foo within another element * - * @example $("*").index( $('#bar')) - * @before
+ * @example $("*").index( $('#bar')[0] ) + * @before
* @result -1 * @desc Returns -1, as there is no element with ID bar *