Discuss about jQuery

jQuery is a relatively small library that is based on a few very simple and intuitive principles. To me this library strikes the right balance between size, feature set and ease of use.
  • 1605

Introduction

jQuery is a relatively small library that is based on a few very simple and intuitive principles. To me this library strikes the right balance between size, feature set and ease of use. Even originally after using it for just a few days I already felt like "this is what JavaScript and DOM programming. An open source JavaScript library that simplifies the interaction between HTML and JavaScript. Created by John Resig in 2005, released in January of 2006. Built in an attempt to simplify the existing DOM APIs and abstract away cross-browser issues. I started out as a JavaScript neophyte and stayed that way for a long time. Sure I used JS here and there for validation and few simple manipulation tasks, but it wasn't until a few years ago when Ajax surfaced to even take a more serious interest. It took me some time after that to slowly get up to speed on modern JavaScript principles I had never even thought about up until then: Effective use of Closures, the Prototype model, class definitions, using functions as code, all of which require some getting used to when you are primarily dealing with static languages like C#.

Key features of jQuery :

  • DOM Element Selectors.
  • The jQuery Object the Wrapped Set.
  • Wrapped Set Operations.
  • Simplified Event Handling.
  • Easy Plug-in Extensibility.

How to used jQuery in Program :

Code

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
    <title></title>
    <script src="scripts/jquery.js" type="text/javascript"></script>
</head>
<body>

© 2020 DotNetHeaven. All rights reserved.