Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

113
Views
Valor de eco de la tabla dinámica a través de Ajax larvel

Tengo un problema que no puedo resolver.

En laravel, uso este código para obtener un valor de una tabla dinámica.

 @foreach($data->product as $product) <p>{{ $product->pivot->name }}</p> @endforeach

Y pensé que podría hacer lo mismo con jquery, ajax pero no funciona. ¿Cómo hago esto?

 function getTable() { $.ajax({ type: "GET", url: "/product/table", datatype: "json", success: function (response) { $('#table').html(""); $.each(response.data.product, function (key, product){ $('#table').append( '<p>' + product.pivot.name + '</p>' ); }); } }); }
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!