Jagst3r15's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Active Members
Active Posts:
64 (0.07 per day)
Joined:
21-December 10
Profile Views:
1,140
Last Active:
User is offline Mar 10 2013 07:07 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   Jagst3r15 has not set their status

Posts I've Made

  1. In Topic: Help creating a crontab file

    Posted 10 Mar 2013

    Thanks!
  2. In Topic: Multiple for loops?

    Posted 16 Dec 2012

    Wow, that was stupid on my part....it works now though, so thank you. There is another part to this, but I want to try to do it on my own first. Thanks again :)
  3. In Topic: Multiple for loops?

    Posted 16 Dec 2012

    Here it is:

    function showTable() {
       document.write("<table id='contributors'>")
       document.write("<thead>")
       document.write(" <tr>")
       document.write("<th>Date</th><th>Amount</th>")
       document.write("<th>First Name</th><th>Last Name</th>")
       document.write("<th>Address</th>")
       document.write(" </tr>")
       document.write(" </thead>")
    
       document.write(" <tbody>")
    
       for var i = 0; i < lastName.length; i++) {
          document.write(" <tr>")
          document.write("<th>" + lastName[i] + "</th>")
          document.write("<th>" + amount[i] + "</th>")
          document.write("<th>" + firstName[i] + "</th>")
          document.write("<th>" + lastName[i] + "</th>")
          document.write("<th>" + street[i] + "</th>")
          document.write("<th>" + city[i] + "</th>")
          document.write("<th>" + state[i] + "</th>")
          document.write("<th>" + zip[i] + "</th>")
          document.write(" </tr>")
       }
       document.write(" </tbody>")
       document.write(" </table>")
    
    }
    
    
    
  4. In Topic: Multiple for loops?

    Posted 16 Dec 2012

    Thanks for the detailed reply! I had a feeling document.write was an older way of doing things, but I was not sure - I guess my teacher knows that, but he doesn't want to confuse people by going too hardcore or something. I do HTML/CSS freelance work and always try to follow standards as best I can, so I'll keep your advice in mind for JS :)

    One more issue though: I fixed the showTable function, and now to call it my instructions say to insert a script element that runs the showTable() function. This does not work and I see an error message in my Chrome Dev Tools, so something is wrong:

                <figure id="data_list">
                <script type="text/javascript">
                   showTable();
                </script>
    
                </figure>
    


    Any ideas?
  5. In Topic: Clearfix issue and image height

    Posted 20 Aug 2012

    Nevermind, I resolved the issue.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

Jagst3r15 hasn't added any friends yet.

Comments

Jagst3r15 has no profile comments yet. Why not say hello?