XHTML Strict Anchor jQuery Fix


/ Published in: jQuery
Save to your folder(s)

The most annoying thing I find working with the strict doctype is the inability to send users off to a site in a new window.

To combat this, I always use the above snippet.

Some people just stick the attribute on the anchors when the page loads, however for semi-accessibility, I think this works well.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.