Tuesday, May 19, 2009

[JavaScript] passing value from array

Hello.

I'm trying to replace an input field with a select drop-down list that is derived by the selection from a previous drop-down list. I'm a novice in programming, so this is no small task for me. I have successfully built the dependant drop-down lists using arrays, but I can't get the value of the selection to pass to the next page.

Links to my test pages in question, if you'd like to see the full code:
http://library.boisestate.edu/faculty/submission-test/author_form-pub.asp
http://library.boisestate.edu/faculty/submission-test/author_confirm-pub.asp

From author_form-pub.asp (the Format field is the only required field, by the way), selecting a College triggers the choices for Department, but the selected Department value does not get passed to author_confirm-pub.asp. I believe I need an additional function (called by Department with onchange) that will pass the value, but I'm really struggling with how to do this utilizing the value from the array.

Any assistance here would be greatly appreciated.

------------------------------------

Visit http://aiaiai.com for more groups to joinYahoo! Groups Links

<*> To reply to this message, go to:
http://groups.yahoo.com/group/JavaScript_Official/post?act=reply&messageNum=16685
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/JavaScript_Official/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:JavaScript_Official-digest@yahoogroups.com
mailto:JavaScript_Official-fullfeatured@yahoogroups.com

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/JavaScript_Official/

<*> To unsubscribe from this group, send an email to:
JavaScript_Official-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

0 comments: