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

160
Vistas
Passing from javascript to Avada wordpress php

Within Avada wordpress builder I can add php elements to a page, but I want those php elements to accept input from javascript code on other parts of the site. Right now I have a post request in javascript

var xhr = new XMLHttpRequest();
    xhr.open("POST", "https://website/postRequests", true);
    xhr.setRequestHeader('Content-Type', 'application/json');
    xhr.send(JSON.stringify({
        value: "test value"
    }));

And php code for accessing said request

document.getElementById('comparison_1').innerText = $_GET['https://website/postRequests?value'];

I'm not sure how to link the two together. How do I send the post request to a different part of the site that uses php code if said php code is lying behind Avada?

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