Skip to content

Instantly share code, notes, and snippets.

@collin
Created July 29, 2008 17:25
Show Gist options
  • Save collin/3128 to your computer and use it in GitHub Desktop.
Save collin/3128 to your computer and use it in GitHub Desktop.
form.ajaxForm().ajaxSubmit({
// target: "#divToUpdate",
url: that._options.uploadUrl,
// dataType: "json",
method: "POST",
iframe: true,
success: function(response) {
that.insertImage(response,
form.find(that._options.titleSelector).val(),
form.find(that._options.altSelector).val());
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment