Shallow into the shallow out---what exactly is jquery?

Source: Internet
Author: User

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.