HTML/JS question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sitko
    New Member
    • Sep 2007
    • 140

    HTML/JS question

    If I want to added a script to some HTML to make conditional output, do I just surround the HTML with the Script and do Document.writes (<TD>aVariable </td>) if I want to use if statements to set the variable?

    Our in-house HTML specialist is very confusing, and went off in many tangents when I asked him this.

    He said something like do the HTML first, then put the script at the bottom, but for the life of me, I can't see how this would work if the values in the HTML are dependant on the Javascripts if statements...

    Thanks,
    Sitko.
  • sitko
    New Member
    • Sep 2007
    • 140

    #2
    Nevermind. I figured it out.

    Comment

    • Death Slaught
      Top Contributor
      • Aug 2007
      • 1137

      #3
      Go here you should find what your looking for and alot more.

      Hope it helps, Death

      Comment

      Working...