Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

73
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>
7 months 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 empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.