[jQuery] Creating a new tag
How do I create a new tag with jquery?
I tried something like this:
link = $('a').attr({
class : 'logoLink',
target : '_blank',
href : 'http://www.someurl.com/'
});
And then appended it to another image, but this added every link that
already existed on the page.