User Profile

Collapse

Profile Sidebar

Collapse
nicnac
nicnac
Last Activity: Jul 31 '12, 01:59 AM
Joined: Oct 28 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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
    See more | Go to post

    Leave a comment:


  • 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...
    See more | Go to post
    Last edited by acoder; Nov 1 '09, 04:20 PM. Reason: Added [code] tags

    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,
    Nichola
    See more | Go to post

    Leave 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!

    Thanks
    See more | Go to post

    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...
    See more | Go to post
    Last edited by Dormilich; Oct 29 '09, 09:17 AM. Reason: Please use [code] tags when posting code

    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...
    See more | Go to post
No activity results to display
Show More
Working...