> I'd suggest downloading and installing "Fiddler" (http://www.fiddlertool.com)

That's a great tool, thanks! Unfortunately, it doesn't help my
problem. I figure I must be doing something fundamentally wrong, since
jquery is widely thought of as browser agnostic.

So, I put together a small sample file that has everything in it (and
still exhibits the problem). If anyone can see something I'm doing
wrong, please point it out. Here's the html file:

===========================
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>

  <title>jquery problem</title>

  <script src="./scripts/jquery.js" type="text/javascript"></script>

  <script type="text/javascript">
  <!--
  $(document).ready(function() {
      $.getjson('./files/v-winter.txt', function(data){
          $('tbody.schedule').empty();

          $.each(data, function(eindex, entry) {
            if (eindex == 1)
            {
              alert( entry['day'] + '-' + entry['date'] );
            }
          });
      });
    });
  -->
  </script>

</head>

<body>
  <table>
    <tbody class="schedule">
      <tr><td>row one</td></tr>
      <tr><td>row two</td></tr>
      <tr><td>row three</td></tr>
    </tbody>
  </table>

</body>
===========================

Reply via email to