jQuery without domready -


To find a way to add this code, later & lt; Head & gt; (or some & lt; link stylesheet & gt; ) and before & lt; Body & gt; Generated (created).

  $ ('body'). Attachments ('& lt; style type = "text / css" & gt; \ // some // multiline // style & lt; / style & gt;');   

a & lt; Body & gt; without domready () , so it looks better to use head instead or something else add can also be changed is.

There is no direct access to the html file editing, so why am I using javascript.

Why is it needed? When we use the domready () script, then adds a style after the page is created, the block with the new style jumps from the previous decor to the new one - Not good

Thanks.

  & lt; Script type = "text / javascript" & gt; Document.write ('& style; style = "text / css" & gt; \ // some // multiline // style & lt; / style & gt;'); & Lt; / Script & gt; 

Edit : I do not think what you want, but I like it to be proven wrong. You have no hook in the DOM processing phase and when DOM is created, then it is already too late for your purposes.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -