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

231
Vistas
Automatic Filling & Web Post of (Website Form) using JavaScript code

I have this webpage ( http://reg.nid-moi.gov.iq/registersubmit ) and it contains a form that I would like to auto fill the data of the form by posting function according to the following function parameter in javascript code and source code of the page as the following : Webpage Sourcecode Script : webpage sourcecode script

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

There are different ways to do it.

<script>
// if you want to fill form on button click
function setInitailFormData(){
//getting the element you want to fill
 var inputName = document.getElementsById('inputName');
//setting up the value
 inputName.value = "Gohan"
}
//if you want to fill on component mount
window.onload = function setInitailFormData(){
//getting the element you want to fill
 var inputName = document.getElementsById('inputName');
//setting up the value
 inputName.value = "Gohan"
}
</script>
about 4 years ago · Juan Pablo Isaza Denunciar
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