Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Script gone wrong

  Asked By: Brooklyn    Date: Jun 11    Category: Java    Views: 679
  

I am trying to have the selected options of a dropdown menu and/or 4
checkboxes/radiobuttons saved in a save_string to be used later on.

<SCRIPT language=JavaScript type=text/javascript>

function www_Table1(){


var NUMVAR=4;

for (var i=0; i<document.WWW_FORM.WWW_TEST.options.length;
i++){
if (document.WWW_FORM.WWW_TEST.options[i].selected){
var
test_string=document.WWW_FORM.WWW_TEST.options[i].value;
}

}

var Save_String_test="";


....this part works, but I want to have the selected values...
nnmmoopp from a list/menu, which can have the following values:

NNmmoopp, nnMMoopp, nnmmOOpp and nnmmooPP saved along with any or all
combinations of 4 check box options having the following values:
Nnmmoopp, nnMmoopp, nnmmOopp and/or nnmmooPp saved in the
Save_String_test

I want to have say nnMMoopp is selected in a menu and say nnmmOopp and
nnmmooPp selected from 2 check boxes give me the results of

nnMMoopp + nnmmOopp + nnmmooPp = nnMMOoPp

What do I do futher?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Script gone wrong Or get search suggestion and latest updates.




Tagged: