$ as an argument
$ as an argument
This is an example of code from the each plugin
$
(
'.example span'
).
repeat
(
1000
)
.
each
(
$
).
toggleClass
(
'bold'
).
wait
(
50
);
the code to run on each iteration comes after the each function.
what does the $ in .each($) do? and can .function($) be used in regular jquery?
Topic Participants
samcoppock
jtara-jquery