Level 46
window.location.href is a javascript thing, it has nothing to do with Laravel.
But yeah, if you're using javascript then that's the only way if you're using a button. But why not just use an anchor tag?
how to move from one page to another page in laravel using button click?? is it best option to use window.location.href?
Please or to participate in this conversation.