⬅︎ Back to createElement('a') with a javascript href
How to make the link with the attribute of target="_new" ? thenewlink.setAttribute('href', 'xyz.html')would not suffice?Thanks
Comment
How to make the link with the attribute of target="_new" ? the
newlink.setAttribute('href', 'xyz.html')
would not suffice?
Thanks