5.2.js 173 B

1234567
  1. $(document).ready(function() {
  2. // Use attr() to add an id, rel, and title.
  3. $('div.chapter a').attr({
  4. rel: 'external',
  5. title: 'Learn more at Wikipedia'
  6. });
  7. });