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

FireFox bug???

P: 2
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>Documento senza titolo</title>
  6. </head>
  7.  
  8. <script language="javascript">
  9. function getIT()
  10. {
  11.     alert(document.getElementById("contentFiles"));
  12. }
  13. </script>
  14.  
  15. <body onload="getIT()">
  16. <table id="contentAll" name="contentAll" width="100%" border="0" cellspacing="0" cellpadding="5">
  17.     <tr>
  18.         <td>
  19.             <table id="contentfiles" name="contentfiles" width="100%" border="0" cellspacing="0" cellpadding="5">
  20.                 <tr>
  21.                     <td>
  22.                         This is a text!!
  23.                     </td>
  24.                 </tr>
  25.             </table>
  26.         </td>
  27.     </tr>
  28. </table>
  29. </body>
  30. </html>
I'm asking why this don't work on FF?????? :(((((
The function return NULL instead of an Object.

Please help.
Jan 22 '08 #1
Share this Question
Share on Google+
2 Replies


drhowarddrfine
Expert 5K+
P: 7,435
In your code you use contentFiles but in your html you use contentfiles.
Jan 22 '08 #2

P: 2
Thanks a lot!!!!!!!!!!

I hadn't seen it.
Probably too much IE... it seem to not do differences in caps.

Yuri.
Jan 22 '08 #3

Post your reply

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