Category Archives: jquery snippets

Include JQuery UI framework from Google libs

Code snippet to include JQuery UI framework from Google libs

<script src=""></script>
<script src=""></script>
<link href="" rel="stylesheet" type="text/css"/>

JQuery Ajax Snippet

JQuery Ajax Snippet

Consider to think about.
Review the code below.


type: 'POST',
url: url,
data: data,
success: success,
dataType: dataType


type: "POST",
url: document.URL + '/PageList',
data: "{}",
async: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (response) {
var pages = (typeof response.d) == 'string' ? eval('(' + response.d + ')') : response.d;

$('#locPage' + locId).find('option').remove();

$.each(pages, function () {
$('#locPage' + locId).append(

MouseOut() and MouseOver() events

.mouseout() – jQuery API