Click here to Skip to main content
11,934,809 members (43,958 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript
var dom = document.getElementById("tblDom");
            var len = tblDom.rows.length;
            var iteration = len;
            var row = dom.insertRow(iteration);
            var cell1 = row.insertCell(0);
            var cell2 = row.insertCell(1);
            var cell3 = row.insertCell(2);
            var cell4 = row.insertCell(3);
            cell1.innerHTML = len + 1;
            var element1 = document.createElement('input');
            element1.type = 'text';
   = 'Text1' + iteration;
   = 'Text1' + iteration;
            var element2 = document.createElement('input');
            element2.type = 'text';
   = 'Text2' + iteration;
   = 'Text2' + iteration;
            var element3 = document.createElement('input');
            element3.type = 'text';
   = 'Text3' + iteration;
   = 'Text3' + iteration;
here i am creating dom object i need two text box addition operation
Posted 30-Aug-12 23:37pm
Legor 31-Aug-12 4:48am
This is no question. Please improve.
Joan Murt 31-Aug-12 5:51am
Come on satheeshxy! if you expect to receive any kind of answer you should prepare a question.
I've explained this to you several times. It is possible that english is not your first language, but this is not an excude for not explaining correctly which is your problem.
Your posts are systematically downvoted and sent to oblivion, you are not getting what you need so... don't you think changing your attitude would be a good idea?
Soon if you still follow that path you'll be expulsed from CP and you will not have the opportunity to get answers to your questions... Can't you see that?
enhzflep 31-Aug-12 6:55am
Well said Joan. :thumbs-up: +5
Samer Abu Rabie 24-Sep-12 6:28am
True Story :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 31 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100