+ 2

How I get information from a page and how send a other page for a form with this code

var vector = []; var cantMate; //con esta variable puede controlar la cantidad de vectors, //segun la opcion digitada por el usuario. function DeterminaCantidad(){ cantMate = document.getElementById("cant").value; } function GetData(){ var asigna = document.getElementById("materia").value; var parcial = document.getElementById("parcial").value; var practicas = document.getElementById("practicas").value; var final = document.getElementById("final").value; Arreglos(asigna,parcial,practicas,final); } function Arreglos(asigna,parcial,practicas,final){ vector[0] = asigna; vector[1] = parcial; vector[2] = practicas; vector[3] = final; for(var i=0;i<=3;i++) { document.write(vector[i]+"<br/>"); } }

7th Apr 2020, 2:22 AM
Joan Manuel
Joan Manuel - avatar
1 Answer
+ 4
You will need php for this and SQL for storing the data
13th Sep 2020, 7:48 AM
OfcourseitsRohit
OfcourseitsRohit - avatar