I have now uploaded the new version of the ajaxContent jquery plugin. The release gives to the plugin many new options and funcionality. 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_" A code example of th extend option:
$('.ajax').ajaxContent(); $('.ajax').ajaxContent({ target:'#ajaxContent', extend:'true', filter:'.ajaxLoad', ex_target:'#newAjaxContent' }); In this example the class ajax will perform an ajax call filling up the #ajaxContent element. If in the code injected the plugin find an A element with class ajaxLoad will attach a new instance to this element. Clicking ajaxLoad will be fired a new call that will have teh element #newAjaxContent as target 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. See exmaples http://www.andreacfm.com/index.cfm/jquery-plug-ins/ajax-content