Possible Duplicate:
Difference between $.ajax() and $.get() and $.load()
What's the difference between $.get() and $.ajax
The code I've been given uses calls like this:
$.get(href)
.success(function (content) {
$('#content')
and:
$.ajax({
cache: false,
url: href + params.param,
dataType: 'html'
})
Can someone explain what the difference is between these. Is there any advantage to using one over the other?