Posted on 1997-11-24
In my program, I need to do two things. One, select a choice from a series of radio buttons to get a value that the next page needs to perform a search thru a table repeating until the proper value is found, and Two, use that selected value to end the search procedure if desired and go to an update page. The table being searched contains parent, child, sub-child , etc values. The page contains two buttons, "Continue Search" and "Finish". The "Finish button will appear alone if there are no child values for the selected value meaning the lowest search level has been reached. The buttons each have their own form as well.
htp.p(' <!-- Hide script from non-java browsers');
htp.p(' function NewTarget(valuefrom, valueto)');
htp.p(' valueto.value = valuefrom.value ');
htp.p(' alert(" new_target Value is " + valueto.value + " v_target = " + valueto.value)');
htp.p(' return valueto ');
htp.p(' // End script hiding -->');
Just to recap, what I want to do is use javscript to pass a value to another form to end the above described search routine.
Feel free to email if you have any questions for me.