JQuery Learning Journey (2)

The $(document). Ready (… .). ; Function () = function() = function() = function() = function()

<! PUBLIC DOCTYPE HTML "- / / / / W3C DTD HTML 4.01 Transitional / / EN" "http://www.w3.org/TR/html4/loose.dtd" > < HTML > < head > < meta  http-equiv="Content-Type" content="text/html; Charset =UTF-8"> <title> <style type="text/ CSS "> div{padding:8px 0px; Font-size :12px; text-algin:center; border:solid 1px #888; } < / style > < / head > < body > < script SRC = "http://libs.baidu.com/jquery/1.9.1/jquery.min.js" > < / script > < script Function () {$("div").html(" hello, start javascript tour ")}); </script> <div></div> </body> </html>Copy the code