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

104
Vistas
Add new object to fullcalendar from Ajax

I am trying to add new events from an ajax to fullcalendar events Here is what I've tried

$.ajax({
type: 'GET',
url: 'ajax link',
headers: {
    dateType: "json",
    "Authorization":"something"
},
dataType: "json",
success: function (res){
  var wow = res;
}
})
var EventsField = {
  id: 1,
  events: [
    {
      id: '1',
      start: curYear+'-'+curMonth+'-08T08:30:00',
      end: curYear+'-'+curMonth+'-08T13:00:00',
      title: 'Some Title',
      backgroundColor: '#bff2f2',
      borderColor: '#00cccc',
      description: 'Some text'
    },
  ]
};

So, from ajax I get variables like the ones present in the events object, and I want to get those from ajax and put them into the events objects.

Thanks!

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