albert85
Apr 16th 2006, 7:28 pm
i create a function to increase the row of the table everytime i called. the function is like this:
function insRow(wp,ln,item_no,item_desc,quantity,vo_no,vo_typ){
var x=document.getElementById('wp_tbl').insertRow(1);
var col1=x.insertCell(0)
var col2=x.insertCell(1)
var col3=x.insertCell(2)
var col4=x.insertCell(3)
var col5=x.insertCell(4)
var col6=x.insertCell(5)
var col7=x.insertCell(6)
col1.innerHTML=wp
col2.innerHTML=ln
col3.innerHTML=item_no
col4.innerHTML=item_desc
col5.innerHTML=quantity
col6.innerHTML=vo_no
col7.innerHTML=vo_typ
}
what i want is put in the hyperlink in the col1 and col2 and past the value to the next page. how i going to do that???
function insRow(wp,ln,item_no,item_desc,quantity,vo_no,vo_typ){
var x=document.getElementById('wp_tbl').insertRow(1);
var col1=x.insertCell(0)
var col2=x.insertCell(1)
var col3=x.insertCell(2)
var col4=x.insertCell(3)
var col5=x.insertCell(4)
var col6=x.insertCell(5)
var col7=x.insertCell(6)
col1.innerHTML=wp
col2.innerHTML=ln
col3.innerHTML=item_no
col4.innerHTML=item_desc
col5.innerHTML=quantity
col6.innerHTML=vo_no
col7.innerHTML=vo_typ
}
what i want is put in the hyperlink in the col1 and col2 and past the value to the next page. how i going to do that???