Hi,
I have a function to add extra rows to my table, when user click 'Add' buton. One of the input fields in my row is a checkbox. I have problem trying to align the checkbox (horizontally). The checkbox in original rows are aligning ok. Only the one that got added later are left adjusted...
Hi,
('tbl').getElementsByTagName("tbody")[];
I thought what goes inside the [] is the row#. For example if my last row is 10 then my added row for input boxes is 11 and my added row for horizontal line is 12. If I do like below it works. Please help me out here...
Another question. How can I get the checkbox to center?
Here's what I have. I got check box but it doesn't align in the center.
var cell34 = row.insertCell(34);
var c9 = document.createElement('input');
c9.type = 'checkbox';
c9.name = 'XDEL' + iteration;
c9.align = 'center'...
Hi,
What I'm trying to do here is adding 2 rows at a time. One row contain input boxes which I use insertrow method. The other row has one cell contain image of horizontal line so I use clonenode method. I'm having problem with the code in red. I got error message 'undefined' when I clicked on...
Hi Dan,
I've little experence with web programming so please bear with me.
Isn't the clonenodes method copy everything from the previous row, including the text value of the cell? I want to add empty rows with its own name and id. For example if the first cell of my last row name is "col1_10"...
Hi,
I have an asp page that contain rows of record. Some rows already contain data that I retreive from database. The rest of the row are blank. When user input all those empty rows and still need more rows, then he would click Add button.
I found sample for a input type text cell. But some of...
Hi,
I had post this question under asp forum but no one reply so I try in this forum.
I have an asp page that display list of records. The page allow user to delete a record (one record at a time). When user click on delete link the asp call itself to call CGI program to delete a record...
Hi,
I have an asp page that display list of records. The page allow user to delete a record (one record at a time). When user click on delete link the asp call itself to call CGI program to delete a record. After call CGI program, I want to stay on the same listing page as before user click on...
Thank you so much vicvirk for the sample.
Feherke,thank for the suggestion. But I only want to fill in the value if user leave the field blank. If I understand you correctly, seem like you suggest to fill in the field when user put cursor in that field.
Thank you again guys.
Hi vicvirk,
I hope this will give you a better picture.
For example, here is my form
Item quantity color size
SHIRT 5 RED XL (row#1)
TANKTOP 10 BLACK S (row#2)
3 (row#3)
First...
Hi,
I have a form with X rows of 5 input textboxes. What I want to do is keep the data of the previous row, and auto fill into the next row for a user (if user make some input into this row). Let's say on this row user only input 2 textboxes so I want to fill in the other 3 for him.
I don't...
I'm very appreciate your help feherke.
I've close to 0 knowledge of javascript. In my apprication, most of the time I can survive without javascript.
Thank again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.