LuisFelipe
1 year ago

Href for a route in JavaScript

Posted 1 year ago by LuisFelipe
function redirecionar(item) { location.href = 'http://dev.dsdsoftware/recebimento/dashboard'; }

Route name: recebimento.dashboard

How do I put the route instead of the link in the JavaScript href?

Please sign in or create an account to participate in this conversation.