Why Java Script is needed? - BunksAllowed

BunksAllowed is an effort to facilitate Self Learning process through the provision of quality tutorials.

Community

Why Java Script is needed?

Share This

JavaScript is most commonly used as a client-side scripting language, which means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is downloaded in the browser of the client machine.

JavaScript is used in many contexts, like generating pop-ups, navigation menus, dynamic content loading, etc. In the next tutorials, we will discuss different applications of Java Script.

Advantages of using JavaScript


  • Less server interaction: A user input can be validated by JavaScript before sending the data to the server for reducing server computation.
  • Less server traffic: JavaScript is used to reload the content of a page segment instead of reloading the whole page.
  • Interactivity: It is used to create web interfaces that react to users' activities, like mouse movement or keyboard actions.
  • Rich interface design: JavaScript is also used to include drag-and-drop components and sliders to give a Rich Interface Experience to the visitors.

jQuery (a Java Script) Library


jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.

How to use jQuery JS Library?


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.


Happy Exploring!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.