Posts by Ítalo Sousa • 1 point
2 posts
-
0
votes1
answer125
viewsA: How to send id as parameter to url
You can try it like this: ... const postUrl = `${window.location.pathname}/${post._id}`; const postagem = ` <a href=${postUrl} class="container-post"> <h2…
-
0
votes1
answer49
viewsA: Open new window in javascript without focus
(Translation) Original response here What you are looking for is called "pop-under window" Open a new window using var handle = window.open() Lose focus of new window using handle.blur() The return…
javascriptanswered Ítalo Sousa 1