for (i=1;i<=3;i++)
{
obj = document.getElementById('pic'+i);
obj2 = document.getElementById('price'+i);
temp=temp+obj.value*obj2.value;
}
我如何取得temp中的数据,我的本意是想取道temp的数据放到 <input value="temp">中的value,这样提交的时候就可以写入到数据库,请高手指教!