Usually if we want to open view in laravel, we can put url then enter, what if we use ajax to open view? what i get in my ajax response is the html code not the view.
It's not normal to return a view with ajax. It's better practice to load the page, make the ajax request and then populate your page elements with the data returned from the ajax request.
It is possible to return a view with ajax in laravel (if you render it first and return the html string), but I wouldn't recommend it. Anytime I make an ajax request, it's to receive or post data to the server, not to receive a view.