2009/9/21 Cecil Westerhof <cldwester...@gmail.com>:
> - a way to automatically notify people that they should enable JavaScript

The way that I did this was that start the body with:
  <h1 id = "needJavaScript">
  For best results JavaScript must be enabled!!!
  </h1>

And in the $(document).ready(function() I had:
  $("#needJavaScript").text($('title').text());

But that does not work with MIE8.
When using:
  alert($('title').text());
I get an empty string. I know use:
  $("#needJavaScript").text($('title').html());
This works. Does anybody knows why the first does not work in MIE8?

-- 
Cecil Westerhof

Reply via email to