javascript - Ajax request failed to execute showing error message -


i have been using $.ajax method call api validation & subsequently processing request. trying call request fails each time saying following error:

exception: [exception... "the uri scheme corresponds unknown protocol handler"  nsresult: "0x804b0012 (ns_error_unknown_protocol)"  location: "js frame :: http://localhost:90/project/assets/plugins/jquery/jquery.min.js :: .send :: line 5"  data: no] 

my code sample this:

    $('#signupprocess-form').on('click', function (e) {        var dataobject = {firstname: $('#userfirstname').val(), lastname: $('#userlastname').val(), email: $('#useremail').val(), password: $('#userpassword').val()};                                     console.log(dataobject);       $.ajax({            url:'localhost:90/project/php/scripts/validation/signup/validation-signup.php',             type: 'post',             data: dataobject,             datatype: "json",             success: function (data) {             var response = $.parsejson(data);             if (response.statuscode == 200) {                  submitsignupform(dataobject);                }             },             error: function (jqxhr, textstatus, errorthrown) {             alert('exception: ' + errorthrown);             }             });     e.preventdefault();    }); 

what missing here or process doesn't work. need help

better try 1 uri:'http://localhost.......'


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -