Question : External URL

$('#submit-form').click(function(){
      
      var name = $("#name").val();
      var email = $("#email").val();
      

$.post("/cap/capture.php",  { email:''+email+'', name:''+name+'' });
                alert('Load was performed.');

});

I have the above code and it works perfect, and it submit the variables in to a php within the site and that page submit data to a DB, also I want to submit these 2 variables in to this URL

http://aweber.com/scripts/addlead.pl

name, email and another 2 options, I did it using the same post method, but it only works in Chrome and when I add this external url post, nothing works in FF, I mean $.ajax, $.post wont work in Firefox other things work for example alerts.

I assume Firefox has something to do with external calls ? Any idea about this or can u suggest a method to submit values to this URL http://aweber.com/scripts/addlead.pl?

This URL supports both GET and POST methods. http://aweber.com/scripts/addlead.pl

Answer : External URL

The answer is in the link : << ... The only problem is that due to security in both Internet Explorer and in FireFox, the XMLHTTPRequest object is not allowed to make cross-domain .. >>
Random Solutions  
 
programming4us programming4us