study finishedJQueryafter that, I felt foggy,JQueryWhat is it, the hazy feelingJQueryit should be .JavaScriptthe encapsulation of the function, it should be likeWinForma system function that can be called in a form application, as it was previously learnedJavaScript, KnowJavaScriptis a mosaic inHTMLa scripting language in the document,
<body><formid= "Form1" Name= "Form1" method= "post" > <label for= "" ></label> < Select Name= "Listbrowser" id= "Listbrowser" onchange= "Skip ()" ><option> Please select the site you want to jump to </option>< Optionvalue= "http://yyskebliuying.blog.163.com/" > NetEase </option><optionvalue= "http://blog.csdn.net/ Tgbsqliuying ">csdn</option> </select> <input type=" Submit "name=" button "id=" button " Value= "Submit" onclick= "Skip ()"/></form></body>
used primarily when forms are submitted, the form interacts with the user. And this time, JQuery just changed the way it was set.
<script type= "Text/javascript" src= "Js/jquery.js" ></script>
and then through anotherJSfiles, byDOMinterface foundHtmlNode , assigning an event to a node to aFunctionwhen the user triggersHTMLin the event of a node in thefunctionExecute, get the result that the user wants. Jquery.jsencapsulated in a number ofJavaScriptmethods, events, properties, can be easily called by programmers.
written by yourself JS The first sentence of the document always
<pre name= "code" class= "HTML" >$ (document). Ready (function () {})
Document is that DOM Interface
DOM (Document Object Model) Document Object Model, Model refers to the tree model, starting from the root node, the nodes expand sequentially until the leaf node is developed
Everyone also saw my topic, hope to understand my shallow into the shallow out of the level, if there are ideas, please fill in the comment box!
Shallow into the shallow out---what exactly is jquery?