Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

105
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda