Support the ongoing development of Laravel.io →
Authentication Requests Views
Last updated 2 weeks ago.
0

Hi

You need to use the HTML returned from the API Response and insert it into the Web Page using Javascript.

You can use the Javascript tag

document.getElementByTag('html').innerHtml to insert the code.

By Default if you are make AJAX Request it will not change or manipulate the DOM automatically. You will have to write code to do so

0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

Martin Aedma Martin Aedma ettur Joined 23 Jul 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.