Over a million developers have joined DZone.

ajaxContent jQuery Plugin Updated

DZone's Guide to

ajaxContent jQuery Plugin Updated

· Web Dev Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

Andrea Campolonghi has released v2.1 of his ajaxContent jQuery plugin. The plugin, designed to greatly facilitate the insertion of content into DOM nodes via Ajax calls, has been updated with the following features:

  • A new beforeSend callback is now available and fires just before the ajax call is performed
  • The plugin now can extend the ajax event to items injected in the DOM from a previous call. Basicaly using the options line is possible to attach a new ajaxContent instance directly to an item that will be load in a previous call. The second event is completely customizabile using a set of options with prefix "ex_"
  • BINDING: a new bind option is now avaialble. Basically anytime the binded form element change value the ajax call pass an updated parameter. This gives a wide range of new possibility for the plugin use.
Andrea has updated his demo page to show these new features in action.


Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}