Newbie here Js and JQuery all about

hello again… what is the user of this langauge…

:smiley:

can you show some sample for this?? :smiley: thank you again…

P.S

newbie about Js and Jquery

Hi,

jQuery is a JavaScript library, that simplifies manipulation of the DOM, event handling, animation and much more.

Here is a simple example:

<!DOCTYPE HTML>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>jQuery example</title>
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
  </head>

  <body>
    <button id="pressMe">Press Me</button>
    <div id="result"></div>

    <script>
      $(document).ready(function() {
        $("#pressMe").click(function(){$("#result").text("Hello, world!")});
      });
    </script>
  </body>
</html>

If you fancy learning more, you’ll need to learn some JavaScript first (as jQuery is JavaScript), then you could read a book such as this one: http://www.sitepoint.com/books/jquery2/

You need a good knowledge of JavaScript to an intermediate level to be able to use frameworks such as JQuery effectively. If you don’t have sufficient JavaScript knowledge then you can end up writing JQuery code to perform tasks where the JQuery calls end up being more code than would be needed without JQuery.