File: demos/demo2b/footer.php

Recommend this page to a friend!
  Classes of Emmanuel Podvin  >  Blapy  >  demos/demo2b/footer.php  >  Download  
File: demos/demo2b/footer.php
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change:
Date: 1 year ago
Size: 561 bytes
 

Contents

Class file image Download
<script type="text/javascript" src="../../Blapy.js"></script>
<script>
	$( document ).ready(function() {
//		$('#myBlapyApp1,#myBlapyApp2,#myBlapyApp3').Blapy();
		$('#myBlapyApp1,#myBlapyApp3,#myBlapyApp4').Blapy();

//		$( "#myBlapyApp1,#myBlapyApp2,#myBlapyApp3" ).on( "Blapy_ErrorOnPageChange", function(event,anError) {
		$( "#myBlapyApp1" ).on( "Blapy_ErrorOnPageChange", function(event,anError) {
			  alert( anError );
			});
	});

	$("body").append('<h3>HTML code of the page</h3>').append(jQuery('<pre />').text($('html').html()));
</script>

</html>