submitHandler:

submitHandler:

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' http://localhost' is therefore not allowed access.



the script below

submitHandler:function(form) {
                                                       //   var data = $("#tracking-form").serialize();
                                                       var location =$("#location option:selected").text();
                                                       var hwbno    =$("#hawbno").val();
$(form).ajaxSubmit({
                                                                       
target:'.result',
                                                                        dataType : "json",
                                                                        url:' http://mrm-imerex.gotdns.org:1204/MerexCargo.svc/trackcargo/'+hwbno+'/'+location,
                                                                        //url:'php/tracking.php',
                                                                      beforeSubmit:function(){ 
$('.form-footer').addClass('progress');
                                                                                                                                                                               
}, 
error:function(xhr, ajaxOptions, thrownError){
$("div.form-msg").show().delay(7000).fadeOut();
$('.form-footer').removeClass('progress');

},
success:function(result1){
                                                                            
                                                                               alert('123');
//$('.form-msg').show().delay(7000).fadeOut();
$('.form-footer').removeClass('progress');
$('.field').removeClass("state-error, state-success");
                                                                                       
                                                                                        var msg='<div class="alert notification alert-success" >Tracking Result For HAWB No :  <strong>'+$("#hawbno").val()+'</strong></div>';
                                                                                        $("#resultmsg").html(msg);
                                                                                        if(result1==null){
                                                                                         alert("no data");   
                                                                                        }
                                                                                        else{
                                                                                        resultgrid = $('#resultgrid').removeData("columns").empty().columns({
                                                                                        data:result1,
                                                                                        schema: [
                                                                                                {"header":"Date", "key":"CargoDate"},
                                                                                                {"header":"Status", "key":"Status"}
                                                                                                
                                                                                        ]

                                                                                        }); 
                                                                                        
                                                                                        }//else
                                                                                        $("#resultgrid").focus();
                                                                                        reloadCaptcha('tracking-form');
}
 });
}


pls give me the soluion