/ Published in: jQuery
Expand |
Embed | Plain Text
$(document).ready(function() { $("a").filter(function() { return this.hostname && this.hostname !== location.hostname; }).attr('target', '_blank'); });
You need to login to post a comment.
