diff options
Diffstat (limited to 'example/index.html')
-rw-r--r-- | example/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/example/index.html b/example/index.html index 4b73760..f9b1e6a 100644 --- a/example/index.html +++ b/example/index.html @@ -13,6 +13,12 @@ // Attempt to change the color again. $('p').once('changecolor').css('color', 'red'); + + // Now change the background color. + $('p').once().css('background-color', 'black'); + + // Change it again. + $('p').once().css('background-color', 'yellow'); </script> </body> </html> |