From c5e86d220032daa664cb4729a8d19165b1cdc64b Mon Sep 17 00:00:00 2001 From: esx Date: Sat, 17 May 2014 15:17:38 +0200 Subject: [PATCH] Issue #496 Changed documentation of prop() to return "Anything" for property values. --- entries/prop.xml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/entries/prop.xml b/entries/prop.xml index 423e2c11..adccbc85 100644 --- a/entries/prop.xml +++ b/entries/prop.xml @@ -2,9 +2,7 @@ Get the value of a property for the first element in the set of matched elements or set one or more properties for every matched element. - - - + .prop() 1.6 @@ -115,10 +113,7 @@ $( "input" ).change(function() { The name of the property to set. - - - - + A value to set for the property. @@ -134,17 +129,9 @@ $( "input" ).change(function() { The name of the property to set. - - - - - - - - - - - + + + A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.