Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cat5ive

  1. cat5ive

    add rows to table (some cell contain image)

    got it to work now. Thank again Dan.
  2. cat5ive

    need help align checkbox

    Nevermind, got it now. var cell34 = row.insertCell(34); cell34.setAttribute("align","center") var c9 = document.createElement('input'); c9.type = 'checkbox'; c9.name = 'XDEL' + iteration; //c9.align = "center"; cell34.appendChild(c9);
  3. cat5ive

    need help align checkbox

    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...
  4. cat5ive

    add rows to table (some cell contain image)

    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...
  5. cat5ive

    add rows to table (some cell contain image)

    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'...
  6. cat5ive

    add rows to table (some cell contain image)

    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...
  7. cat5ive

    add rows to table (some cell contain image)

    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"...
  8. cat5ive

    add rows to table (some cell contain image)

    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...
  9. cat5ive

    response.redirect

    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...
  10. cat5ive

    response.redirect

    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...
  11. cat5ive

    auto fill from previous row

    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.
  12. cat5ive

    auto fill from previous row

    The rows will be loaded 50 per page.
  13. cat5ive

    auto fill from previous row

    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...
  14. cat5ive

    auto fill from previous row

    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...
  15. cat5ive

    need function to display button when user make selection

    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.

Part and Inventory Search

Back
Top