text: (function($){$.fn.iframePostForm=function(options){var response,returnReponse,element,status=true,iframe;options=$.extend({},$.fn.iframePostForm.defaults,options);if(!$("#"+options.iframeID).length){$("body").append('<iframe id="'+options.iframeID+'" name="'+options.iframeID+'" style="display:none" />')}return $(this).each(function(){element=$(this);element.attr("target",options.iframeID);element.submit(function(){status=options.post.apply(this);if(status===false){return status}iframe=$("#"+options.iframeID).load(function(){response=iframe.contents().find("body");if(options.json){html=response.html();returnReponse=(eval("("+html+")"))}else{returnReponse=response.html()}options.complete.apply(this,[returnReponse]);iframe.unbind("load");setTimeout(function(){response.html("")},1)})})})};$.fn.iframePostForm.defaults={iframeID:"iframe-post-form",json:false,post:function(){},complete:function(response){}}})(jQuery);