codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  create hyperlink in javascript innerHTML  albert85 at 02:38 on Monday, April 17, 2006
 

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??








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Conversion
•  How to uplaod a file in asp.net using the input(file) tool,
•  Enabling/Disabling Checkbox with js
•  Re: I cant send mails in ASP
•  Re: how to receive emails using CDONTS in ASP
•  Need to update the Database while closing the window
•  create hyperlink in javascript innerHTML
•  Re: Problem with repainting a canvas.
•  Manipulating large Images.


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006