Skip to content

SiteKickr Web Development

search
search
Apr05December 15, 2011JavaScript

Forcing external links to open in a new window with Javascript

This task becomes relatively easy with the help of our friend jQuery. The code below is almost too simple! $('a').each(function() {     url = $(this).attr('href');…

© 2025 SiteKickr