Robert1995 Posted November 27, 2011 Report Posted November 27, 2011 Vreau silent submit prin ajax, de asemenea vreau sa si primesc raspuns de la Email Marketing Software & Email Marketing Services from AWeber sau viperfusion . dupa ce ii dau un form , daca reusiti sa imi dati raspunsul si din iframe e ok si asa . Exemple la care as vrea raspuns.Deci pentru urmatorul tinem un form type="submit" , in div .pio_submit_silent . <script> function handle_submit(){ $(".pio_submit_silent").each(function(event) { var current_id = $(this).attr("id"); var form = $("#"+current_id+" form:first"); $.post($(form).attr("action") , $(form).serialize(), function(data) { $(this).html(data); } , "json"); /** $.ajax({ type: "POST", url: $(form).attr("action"), crossDomain: true, cache:false, timeout:8000, data: $(form).serialize(), success: function(resp) { $(this).html(resp); }, error: function (responseData, textStatus, errorThrown) { alert(textStatus); } }); */ /** $.ajax({ type: "POST", url: $(form).attr("action"), crossDomain: true, data: $(form).serialize(), }).done(function( msg ) { alert( "Data Saved: " + msg ); }); */ }); } setTimeout("handle_submit()",3000); </script>Platesc 60$ LS , poate gasiti o portita. Quote