HTML code seen in the source but not in the browser ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajit09
    Contributor
    • Dec 2006
    • 296

    HTML code seen in the source but not in the browser ?

    Hello,

    I can see a HTML code in the source but not in the browser .

    Please tell me why ?
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    there are several explanations. Could you be more specific? I don't mind if you post a URL

    Comment

    • tolkienarda
      Contributor
      • Dec 2006
      • 316

      #3
      um not terriably descriptave. i am guesssing that you mean that the webpage is just a blank page but when you click view source you can see your code. if this is the case then post your code, or at least everything up to the <body> tag i might be able to find the problem then, also you can try to use some sort of html valadation program it will tell you any html errors in your page.

      eric

      Comment

      • AricC
        Recognized Expert Top Contributor
        • Oct 2006
        • 1885

        #4
        I would stick with the poster ^^ your probably missing something here is the layout:
        Code:
        <html>
        <head>
        <title>
        Some Title
        </title>
        <body>
        Your content goes here......
        </body>
        </html>

        Comment

        • pankajit09
          Contributor
          • Dec 2006
          • 296

          #5
          well the actual problem is that when I put the below code in Perl I can't see the form and the inside contents. So I wanted another tag .

          Code:
          my $i;
              foreach $i (0 ..$#attachedfiledata) {
                  $str .= "<form name=\"attach_$attachedfiledata[$i]{'datetime'}$attachedfiledata[$i]{'filename'}\">";
                  $str .= "<tr>";
                  $str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'filesig'}</td>";
                  $str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'datetime'}</td><td class=\"plogitemselectable\"><a href=\"/cgi-bin/tps/attach_file.cgi?act=search&filename=$attachedfiledata[$i]{'filename'}&conid=$attachedfiledata[$i]{'conid'}&datetime=$attachedfiledata[$i]{'datetime'}\">$attachedfiledata[$i]{'filename'}</a></td><td class=\"plogitemselectable\">$attachedfiledata[$i]{'comment'}</td><td class=\"plogitemselectable\">$attachedfiledata[$i]{'type'}</td><td class=\"plogitemselectable\" align=\"center\"><input type=\"checkbox\" name=\"hidefile\" $attachedfiledata[$i]{'hidefile'} onChange=\"updateHideStatus('<TMPL_VAR NAME=datetime>','<TMPL_VAR NAME=filename>');\"/></td>";
                  $str .= "</tr>";
                  $str .= '</form>';
              }

          Comment

          Working...