UpcomingPhpDev Posted January 2, 2009 Share Posted January 2, 2009 Basically, I have this problem, How can you call a name in a html form that is the the array format E.g <input name="Unit[]" /> When calling it from a child window to its parent, It doesnt work E.g window.opener.document.Form.Unit[].value = Item; Any advice? Thanks! Quote Link to comment Share on other sites More sharing options...
Psycho Posted January 2, 2009 Share Posted January 2, 2009 Try this: window.opener.document.Form['Unit[]'].value = Item; Quote Link to comment Share on other sites More sharing options...
UpcomingPhpDev Posted January 3, 2009 Author Share Posted January 3, 2009 No this doesnt work mjdamnto, Any other advice? Thanks Quote Link to comment Share on other sites More sharing options...
UpcomingPhpDev Posted January 3, 2009 Author Share Posted January 3, 2009 Actually, It works, Thanks mjdamato, I didnt notice you didnt suply a . after the form " " works too thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.