You probably want to read up on slice. Your code will look something like this:
$("a").slice(0,20)
More Related Contents:
- How can I create a “Please Wait, Loading…” animation using jQuery?
- Use jQuery to change a second select list based on the first select list option
- Serialize form data to JSON [duplicate]
- Difference between $(window).load() and $(document).ready() functions
- jQuery – Detect value change on hidden input field
- Click outside menu to close in jquery
- Upload fails when user drags and drops attachment from email client
- Get clicked element using jQuery on event?
- How do I change the background image using jQuery animation?
- jQuery: Check if image exists
- jQuery override default validation error message display (Css) Popup/Tooltip like
- How do I select elements on multiple attribute values
- How to attach callback to jquery effect on dialog show?
- jQuery attribute selector for multiple values
- How can I execute multiple, simultaneous jquery effects?
- How can I disable a button on a jQuery UI dialog?
- Where can I find a tutorial to get started learning jQuery? [closed]
- Detect page change on DataTable
- Fancybox: iframe doesn’t work
- Using jquery to make a POST, how to properly supply ‘data’ parameter?
- Twitter Bootstrap add active class to li
- Animate an element’s width from 0 to 100%, with it and it’s wrapper being only as wide as they need to be, without a pre-set width, in CSS3 or jQuery
- Detect change to selected date with bootstrap-datepicker
- Extension refuses to load the script due to Content Security Policy directive
- Use jQuery to convert JSON array to HTML bulleted list
- How to get form html() via jQuery including updated value attributes?
- How to use Plugins for PopUp [closed]
- jQuery delay() – how to stop it?
- Remove elements onclick (including the remove button itself) with jQuery
- File upload Jquery WebApi