jQuery without domready
Posted
by Happy
on Stack Overflow
See other posts from Stack Overflow
or by Happy
Published on 2010-06-15T10:35:32Z
Indexed on
2010/06/15
10:42 UTC
Read the original article
Hit count: 357
Searching for a way to add this code, after the <head>
(or some <link stylesheet>
) and before <body>
is generated (created).
$('body').append('<style type="text/css">\
// some
// multiline
// styles
</style>');
There is no <body>
without domready()
, so its seems better to use head
instead or something else. Append
also can be replaced.
Anybody knows how to do that?
Thanks.
© Stack Overflow or respective owner