folcotandiono's avatar

laravel move to new page

how to move from one page to another page in laravel using button click?? is it best option to use window.location.href?

0 likes
2 replies
topvillas's avatar

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?

Please or to participate in this conversation.