Create hyperlink in javascript innerHTML

i create a function to increase the row of my table everytime i call it. the code 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 create a hyperlink on col1 and col2 and pass the two value to the next page. how i gonna do it??

thanks
albert :lol:

col1.innerHTML =
'<a href="somepage.htm?varName=' + wp + '">click me</a>';

thank you 7stud
it’s works for me thank’s for your help…