Whoo hoo!!
Fantastic!
There was no way I was even thinking like that!
Thank you very much!
I just modified
document.getEle mentById('hidAr ray').value
to
window.opener.m yTestWindow.doc ument.getElemen tById('hidArray ').value
and it works perfect!
Much appreciated!
I will add code tags for any other posts - thanks for the pointer.
N
User Profile
Collapse
-
Oh that works a treat! Magic!!
However I want to run the javascript in a .js file. When I do I'm getting issues with the document values. When in displayQuestion s(), I create my form and new window. I can access all elements, however when I'm trying to access document.getEle mentById('hidAr ray').value from another function (displayArray() I'm getting no value?
I think the document is local to that function? How would I pass...Leave a comment:
-
No I never got any errors just no data displayed?
I have checked the contents of the array and string as it's passed through the function and it's stored ok. (output in alert's)
It's just when the data is passed in the form I can't see it?
I'm thinking it must be my syntax ? Any suggestions?
Thanks,
NicholaLeave a comment:
-
Sorry! As you can tell I'm new so posted this in the WRONG place!
It has now been moved to the javascript questions area! Although if you know the answer please feel free to comment!
ThanksLeave a comment:
-
Pass array as Hidden form field? Can it be done?
Hi,
I'm self learning javascript - so any pointers are welcomed!!
I have an issue passing a form and array from one function to another.
I tried many variations !
I can't get this to work and I can't get this issue out of my head !!!!
So I'm obviously missing something really simple and can't see it or it can't be done with my limited...Leave a comment:
-
Pass array as Hidden form field? Can it be done?
Hi,
I'm self learning javascript - so any pointers are welcomed!!
I have an issue passing a form and array from one function to another.
I tried many variations !
I can't get this to work and I can't get this issue out of my head !!!!
So I'm obviously missing something really simple and can't see it or it can't be done with my limited knowledge.
I know that I can use a cookie to store the...
No activity results to display
Show More
Leave a comment: