Support the ongoing development of Laravel.io →
Authentication Requests Views
Last updated 1 year 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!

Eventy

Your banner here too?

Martin Aedma ettur Joined 23 Jul 2020

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.