AjaxifyJS created for fast and easy to maintain consistent and stable Ajax-driven apps.
You can include Ajaxify.js as AMD module or use it without any wrapper: just link it thru <script>
tag.
require(["ajaxify"], function(ajaxify) {
ajaxify.init({
debug: false,
multipleQueries: true
});
$("a").on("click", function(){
ajaxify.sendRequest({
url: this.href
});
});
});
var ajaxify = window.Ajaxify;
ajaxify.init({
debug: false,
multipleQueries: true
});
$("a").on("click", function(){
ajaxify.sendRequest({
url: this.href
});
});
jsonpCallbackFunc({
"content": "%some-html-code%"
})