var url = settings.basePath +"localhost"
if(queues.length>0) {
tempalteMsg += "Queues"+ "<a href='url>'</a>"
}
how do I refer to the url var in that a tag string?
var url = settings.basePath +"localhost"
if(queues.length>0) {
tempalteMsg += "Queues"+ "<a href='url>'</a>"
}
how do I refer to the url var in that a tag string?
you can use a template literals
var url = settings.basePath +"localhost"
if(queues.length>0) {
tempalteMsg += "Queues"+ "<a href='${url}'></a>"
}