Create Your Own Branded Utility Connection WebPage

Offer Your Clients A Utility Connection Service As A FREE Value Add.



https://www.utilityconnect.net/
"; var aReferrer = "ra"; var cnt = 0; if(aEmail==""){ $("input#form-email").addClass("has-error"); cnt++ }else{ $("input#form-email").removeClass("has-error"); } if($("input#form-name").val()==""){ $("input#form-name").addClass("has-error"); cnt++ }else{ $("input#form-name").removeClass("has-error"); } if($("input#form-last").val()==""){ $("input#form-last").addClass("has-error"); cnt++ }else{ $("input#form-last").removeClass("has-error"); } if(aPhone==""){ $("input#form-phone").addClass("has-error"); cnt++ }else{ $("input#form-phone").removeClass("has-error"); } if(domain==""){ $("input#desiredDomain").addClass("has-error"); cnt++ }else{ $("input#desiredDomain").removeClass("has-error"); } if(cnt>0){return false;} var dataString = 'aEmail=' + aEmail + '&domain=' + domain + '&aName=' + aName + '&aPhone=' + aPhone + '&originationDomain=' + originatingDomain + '&originationCode=' + originatingCode + '&agentpic=' + pic + '&cPhone=' + cPhone + '&logo=' + logo + '&color=' + color + '&company=' + company + '&type=' + type + '&bg=' + bg + '&hubcode=' + hubcode + '&aReferrer=' + aReferrer + '&managerCode=' + managerCode; console.log(dataString); $.ajax({ type: "POST", url: "https://www.utilityconnect.net/hubsub/scripts/agentRequest.php", data: dataString, async: false, dataType: "html", success: function(result) { console.log(result); if (result==1){ $("input#form-email").val(""); $("input#form-company").val(""); $("input#form-name").val("")+" "+$("input#form-last").val(""); $("input#form-phone").val(""); document.location.href='https://www.utilityconnect.net/'+domain; $("#successName2").html(aName); $("#loadSuccess2").click(); return false }else{ alert("System Error! Please email cory@utilityconnect.net with your information, to setup your page!") } } //end success function }); return false; });