Folks,
First question here and trying to teach myself js and jquery, please forgive (or correct) any errors in nomenclature....
I am happily managing to pass through a variable from one page to another with this piece of code:
function openPage() {window.open('datapage_test.html?id=' + dataset[0].Var_Name)}
returns: file:///*path*/datapage_test.html?id=UK_Wakefield
When I try and extend this to pass multiple variables through I fail:
function openPage() {
window.open('datapage_test.html?id=' + dataset[0].Var_Name + dataset[0].Var_Class + dataset[0].Var_Instance )
}
returns:
file:///C:/*path*/datapage_test.html?id=WakefieldundefinedUK
All pointers gratefully received. J
dataset[0].Var_Classisundefined. Make sure you've spelled the property's name (Var_Class) correctly.