vimwiki/tech/jQuery.wiki

14 lines
311 B
Plaintext

= jQuery =
jQuery is the most popular and powerful javascript library around. To include
it, just include it via a script tag.
== Access elements in the DOM ==
To access something with the a class, ie the first element in the page with the
class 'food', this code would suffice
{{{
$('.food').first()
}}}