Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

132
Vistas
How to load the particular services/data by ajax call only after load the dashboard widgets in Jquery

I am trying to implement the one scenario like when dashboard widget is over the loaded in document, then only I want call particular data by ajax call how to implement this in jQuery any one can you please help on it am not getting idea about it.

note: actually what i am getting data by API through ajax call I want load that services/data only after complete loading of dashboard widgets

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://code.jquery.com/jquery-3.6.1.js" integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI=" crossorigin="anonymous"></script>  
</head>
<body>
<div>This Dashobard/Index page</div>
<div>Dashboard Widgets are loaded</div>
<script>
 $( window ).on( "load", function() {
 $.ajax({
url:"/farmers/updateTaskAssignment",
type:"GET",
success: function(resp){
console.log(resp);
},
error:function(error){
console.log(error);
}
})
        console.log( "window loaded" );
     });
  </script>
</body>
</html>

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda