Add a second html element
<img src="" id="myimg" />
then use jQuery
and take the FORM
element and make a ajaxSubmit
on it...
$(function() {
$("form").submit(function(ev) {
$("#myimg").attr("src", "http://..." + $(this).serialize());
ev.preventDefault();
return false;
});
});