By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,879 Members | 1,859 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,879 IT Pros & Developers. It's quick & easy.

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

100+
P: 296
Hello,

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

Please tell me why ?
Feb 7 '07 #1
Share this Question
Share on Google+
4 Replies


jhardman
Expert 2.5K+
P: 3,405
there are several explanations. Could you be more specific? I don't mind if you post a URL
Feb 7 '07 #2

tolkienarda
100+
P: 316
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
Feb 7 '07 #3

Expert 100+
P: 1,892
I would stick with the poster ^^ your probably missing something here is the layout:
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>
  4. Some Title
  5. </title>
  6. <body>
  7. Your content goes here......
  8. </body>
  9. </html>
  10.  
Feb 7 '07 #4

100+
P: 296
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 .

Expand|Select|Wrap|Line Numbers
  1. my $i;
  2.     foreach $i (0 ..$#attachedfiledata) {
  3.         $str .= "<form name=\"attach_$attachedfiledata[$i]{'datetime'}$attachedfiledata[$i]{'filename'}\">";
  4.         $str .= "<tr>";
  5.         $str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'filesig'}</td>";
  6.         $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>";
  7.         $str .= "</tr>";
  8.         $str .= '</form>';
  9.     }
Feb 8 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.