Friday, September 5, 2014

JQUERY Explainded

Leave a Comment

Today we will try to discuss language that has been growing steadily Jquery with the newest update.

JqueryIs a script-based programming language combined with the Javascript language. Jquery language helps us to facilitate the work of our website, especially for the website speed up the process of the data from the other side before displaying data to our end landing website.

Jquery inventor himself (John Resig and perfected by Dean Edwards') have tested this script, which until now has been the latest version (v2.1.1 or quoted 1:11:11 www.jquery.com) and will continue to be developed and continually refined for comfort and better capabilities and relevant in the present data on our website end landing.

Here are some examples of the application of language Jquery :

A. DOM Traversal and Manipulation 
Get the <button> element with the class 'continue' and change its HTML to 'Next Step...'
1. $( "button.continue" ).html( "Next Step..." )

B. Event Handling
Show the #banner-message element that is hidden with display:none in its CSS when any button in    #button-container is clicked.
1. var hiddenBox = $( "#banner-message" );

2. $( "#button-container button" ).on( "click", function( event ) {
3. hiddenBox.show();
4. });

C. Ajax 

Call a local script on the server /api/getWeather with the query parameter zipcode=97201 and replace the element #weather-temp's html with the returned text
1. $.ajax({

2. url: "/api/getWeather",
3. data: {
4. zipcode: 97201
5. },
6. success: function( data ) {

7. $( "#weather-temp" ).html( "<strong>" + data + "</strong> degrees" );
8. }
9. }); 
  
That's all about Jquery Script Language, if you want to ask for something please leave a comment.
For more information about Jquery please see his website at http://jquery.com
if you want download the latest Jquery just Click Here
regard's and thank's for read.

0 comments :

Post a Comment