• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create dynamic input text type in a table

 
Gopu Akraju
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create input fields in a table format after getting the info from the user regarding the number of rows. Number of columns remains constant as 2. I am attaching the script as below. I am not able to generate the input fields and throw some javaScript error. I am checking my code in IE6 version. Please let me know what went wrong. Thanks.

Can anyone tell what the mistake is?

 
Gopu Akraju
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any expert advice on this?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and throw some javaScript error.
I imagine that people are waiting for you to details what the specific error is.
 
Gopu Akraju
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My complete program is as below:



My error is pointing at the line cell.appendChild('inpElem'); saying Type mismatch
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic