We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3cc9b4 commit f0466fbCopy full SHA for f0466fb
1 file changed
entries/removeProp.xml
@@ -17,11 +17,12 @@
17
<example>
18
<desc>Set a numeric property on a paragraph and then remove it. </desc>
19
<code><![CDATA[
20
-$( "p" )
+para = $( "p" );
21
+para
22
.prop( "luggageCode", 1234 )
- .append( "The secret luggage code is: ", String( $para.prop( "luggageCode" ) ), ". " )
23
- .removeProp( "luggageCode" );
24
- .append( "Now the secret luggage code is: ", String( $para.prop( "luggageCode" ) ), ". " );
+ .append( "The secret luggage code is: ", String( para.prop( "luggageCode" ) ), ". " )
+ .removeProp( "luggageCode" )
25
+ .append( "Now the secret luggage code is: ", String( para.prop( "luggageCode" ) ), ". " );
26
]]></code>
27
<css><![CDATA[
28
img {
0 commit comments