• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

362
Vistas
how can I know if submit post method was success in html

I have a form in html with a post method I need to know when the response to the post request how can I catch it?

<form action='MyUrl' method="post" onsubmit="sub()">
     <input type="text" name="fname" required oninvalid="this.setCustomValidity('first name is required')"
                oninput="this.setCustomValidity('')">
     <button type="submit" name = "submit" value = "Submit">send</button>
</form>
almost 3 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 Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda