i am using this for Phonegap so,i would prefer the solution in javascript.
i found many solutions using PHP.thats why i thought of making it clear.
well i get an array,whose vales are from the database.I want to pass this array to the SECOND HTML PAGE.
to pass a variable the following code is being used...
EDIT:
window.location.href="1stpage.html"?var1=&value;
hope, i am right with the coding.
Please,guide me,if i am wrong.
changes with reference to the answer suggested
Julio Meca Hansen Sir,i tried implementing the same
window.location.href='1st page.html?var1=5&var2=6';
and tried verifying it by printing the values on the second page...
console.log("value1: "+var1 +"value2: "+var2 );
alas!,i get this error...
E/Web Console(12476): ReferenceError: Can't find variable: var1 at file:///android_asset/www/1st%20page.html?var1=5&var2=6:17