Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. $('#id1, #id2').attr('title', 'Nuevo title');
  2.  
  3. document.querySelector('#id1, #id2').title = 'Nuevo title';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement