DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
open a new tab when clicking on a link react
<
td onClick
=
{
(
)
=>
window
.
open
(
"someLink"
,
"_blank"
)
}
>
text
<
/
td
>
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#open
#tab
#clicking
#link
#react
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit