javascript - Ajax request inside ajax request with Laravel -


I have code that works like this:

  $ .ajax ( Type: 'html',  

This weight:

 Route: Post ('/ local / pdf', 'local controller @ subtitle pdf');  

Which loader loads:

Which weight:

    

$ Get ("{{request} that loads the route:

  Root :: find (root) ()} / root / (/) / local / realizar_paginas / 9/2") ; ( where (' pgkin ',' [0] -9] + ');  
>

load it:

  author :: user () -> perfil = 'penadaaaaafe'; Auth :: user () - & gt; save () ; Do not worry; If you see that I do not use some variables, I have made it easier to explain the code to use it.  

Actually, if I load the route directly from the URL then everything works fine:

  {{request :: root ()}} / local / Realistic Express / 9/2 " 

But if I am loading with the AJAX method that I have adopted, then it does not work. If I do console.log the data I get the correct HTML code of the $ .get page, but I do not receive this request.

How to fix this idea?

Ism.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -