p9l
10-30-2003, 07:29 PM
Hi,I have a java script problem...
I have a javascript which concatenate the four drop down boxes.
function concate(fm,fy,tm,ty)
{
var QI00=fm.options[fm.selectedIndex].value;
var QI01=fy.options[fy.selectedIndex].value;
var QI02=tm.options[tm.selectedIndex].value;
var QI03=ty.options[ty.selectedIndex].value;
var QI0=QI00+QI01+QI02+QI03
}
how do I use QI0 again outside javascript??
this is what I mean!
<input name="QI0" type="hidden" value=?????>
I want this hidden field value as the QI0 value from the function!
HELP Pls.....
I have a javascript which concatenate the four drop down boxes.
function concate(fm,fy,tm,ty)
{
var QI00=fm.options[fm.selectedIndex].value;
var QI01=fy.options[fy.selectedIndex].value;
var QI02=tm.options[tm.selectedIndex].value;
var QI03=ty.options[ty.selectedIndex].value;
var QI0=QI00+QI01+QI02+QI03
}
how do I use QI0 again outside javascript??
this is what I mean!
<input name="QI0" type="hidden" value=?????>
I want this hidden field value as the QI0 value from the function!
HELP Pls.....