klenwell information services : DevJquery

jQuery Development

CategoryDevelopment

Topics

Google Libraries
AJAX Requests
Selectors

Load via Google Libraries API

ref: https://developers.google.com/speed/libraries/devguide#lib_jquery

In document head:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script>


Alternate (this may be deprecated):
<script src="http://www.google.com/jsapi"></script>
<script>
	google.load("jquery", "1.7.2");
	google.load("jqueryui", "1.8.21");
</script>


AJAX Requests

ref: http://api.jquery.com/jQuery.ajax/
$.ajax({
  url: 'ajax/test.json',
  dataType: 'json',
  data: {},
  cache: false,
  success: function(data) {
	console.log(data);
  }
});


References

jQuery API
Google Libraries