Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Adding ID attribute to HTML tag


Kendo - 5:15 am on Jul 11, 2012 (gmt 0)


After some more testing I found that the problem is not the method. Writing in the ID with JavaScript works just as well as hard coding the ID. The real problem is that HTML5 and some other DOCTYPE statements are killing the interaction between JavaScript and the browser plugin. All the JS is trying to do is get a signal from the plugin to say that it's completed loading. Otherwise that handshake works in all web browsers (except Chrome) by simply using...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

without the usual "http://www.w3.org/TR/html4/loose.dtd" included.


Thread source:: http://www.webmasterworld.com/html/4473946.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com