jeudi 2 octobre 2014

Asp.net reading of javascript


Vote count:

0




ive been making a site to controle a robot called NAO from aldebaran, its been working great while beeing on my xampp, but now ive tried in a asp.net project using the same javascript file but now i get an error when trying to connect to the robot, so was wondering if the asp.net reads/runs the javascript diffrently from my xampp?



$(document).ready(function () {
$("#naoConnectionAddressBTN").click(function () {
alert($("#naoConnectionAddress").val());
session = new QiSession($("#naoConnectionAddress").val());
session.socket().on('connect', function () {
console.log('QiSession connected!');
//getBehaviorList();
}).on('disconnect', function () {
console.log('QiSession disconnected!');
}).on('error', function (error) {
console.log('QiSession error:' + error + '!');
});
});
});


giving me this error net::ERR_CONNECTION_REFUSED



asked 1 min ago







Asp.net reading of javascript

Aucun commentaire:

Enregistrer un commentaire