Select to view content in your preferred language

Get hyperlink to open in a new tab

538
0
07-08-2021 04:24 AM
Labels (1)
SimonCrutchley2
New Contributor

I've successfully created a hyperlink to some text in the 'Query' widget, using ESRI assistant and JSON, but in spite of my putting "target='_blank'" as part of the code, Web AppBuilder refuses to recognise it and switches location, rather than opening a new tab.

I've put the bbc website in as an example below, so am I missing some special syntax; am I using the wrong type of quotes or what?

From my understanding of the code, this should mean that clicking on the word 'Help' opens a new tab and takes you to the bbc website; in fact it just takes you to the website, thereby losing your original page.

"<a target='_blank' href='https://www.bbc.co.uk'>Help</a>"

Thanks

 

Tags (2)
0 Replies