Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12

Thread: Tabel edits

  1. #1
    Regular Coder
    Join Date
    May 2011
    Posts
    357
    Thanks
    23
    Thanked 1 Time in 1 Post

    Tabel edits

    HOw would you make a button that would change a tabel?

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    Quote Originally Posted by sherlockturtle View Post
    HOw would you make a button that would change a tabel?
    Sherlocktutrle. I understand you are having a language problem, but you need to be MUCH more descriptive with your questions.

    What kind of button?

    Change a table how?

    What *exactly* are you trying to do?

  • #3
    Regular Coder
    Join Date
    May 2011
    Posts
    357
    Thanks
    23
    Thanked 1 Time in 1 Post
    Im sorry, i type fast what i wan to know is how would you make anytpe of button that would rewtie a part of a HTML tabel.

  • #4
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    which part of the table?

    post the code for your table and highlight the part you want to change.

  • #5
    Regular Coder
    Join Date
    May 2011
    Posts
    357
    Thanks
    23
    Thanked 1 Time in 1 Post
    I wont post it but here
    <table border = "7">
    <tr>
    <td><b>1</b></td>
    <td><b>2</b></td>
    <td><b>3</b></td>
    <td><b>4</b></td>
    <td><b>5</b></td>
    <td><b>6</b></td>
    </tr>
    </table>
    The 1 2 3....

  • #6
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    post the code the table will have after the button is clicked.

  • #7
    Regular Coder
    Join Date
    May 2011
    Posts
    357
    Thanks
    23
    Thanked 1 Time in 1 Post
    Well i dont realy care maby change the 1 2 3... to One Two Three

  • #8
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    Quote Originally Posted by sherlockturtle View Post
    I wont post it but here
    If you don't want to post it, that's fine. But it's then my choice also to not post the answer you are after

  • #9
    Regular Coder
    Join Date
    May 2011
    Posts
    357
    Thanks
    23
    Thanked 1 Time in 1 Post
    <td><b>One</b></td>
    <td><b>Two</b></td>
    <td><b>Three</b></td>
    <td><b>Four</b></td>
    <td><b>Five</b></td>
    <td><b>Six</b></td>

  • #10
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    Quote Originally Posted by sherlockturtle View Post
    Well i dont realy care maby change the 1 2 3... to One Two Three
    in that case, all you need to do is change the innerHTML of the <td>'s.

    There is a truck load of info on the interweb on how innerHTML works.

    Post your javascript that you have so far and we can try to help you get it working.
    Last edited by bullant; 05-12-2011 at 03:55 AM.

  • Users who have thanked bullant for this post:

    sherlockturtle (05-12-2011)

  • #11
    Regular Coder
    Join Date
    May 2011
    Posts
    357
    Thanks
    23
    Thanked 1 Time in 1 Post
    Ohh i rememeber that thanks!!

  • #12
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    no problem


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •