Where to store html code for jQuery? -


in scripts long html blocks added selector. example

$("#test").prepend($('<div id="tester">..long html tags..</div>').hide().fadein(2000)); 

where better store large html blocks? directly, in variable, in html code, text file or other.

thank you.

have had @ jquery templates?


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -