Level: Beginner
Some Examples
jQuery Code (Javascript) - highlighted by EnlighterJS
$('#loading-example-btn').click(function () {
var btn = $(this)
btn.button('loading')
$.ajax(...).always(function () {
btn.button('reset')
});
});
Inline Code
EnlighterJS also supports $content = print_r(array(1,2,3), true); (since version 2.0).