Skip to content

A jQuery plugin to process ESI include and remove tags in the browser.

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.txt
GPL-2.0
LICENSE-GPL.txt
MIT
LICENSE-MIT.txt
Notifications You must be signed in to change notification settings

manarth/jquery_esi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

jQuery ESI is a jQuery plugin to process ESI include and remove tags in the browser.

Usage

Simple approach

$().esiTags().handleESI();

Function description

The method .esiTags() traverses a jQuery object collection, and returns a new jQuery object collection containing any child esi:include and esi:remove elements.

The method .handleESI() should only be invoked on a collection that just contains esi:include or esi:remove elements. This method will remove the contents of esi:remove tags, and make ajax callbacks for the contents of the esi:include tags, replacing them with the returned data, if the ajax request is successful.

About

A jQuery plugin to process ESI include and remove tags in the browser.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.txt
GPL-2.0
LICENSE-GPL.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published