Use POST method instead of GET method because you are sending data to service. Secondly make your service running. Thirdly make sure you have one parameter
loginIDtxtin Get_MyHours method. Fourthly you were sending loginIDtxtin as param meter value, it should be textbox value. See below code:
$.ajax({
type: "POST",
url: "Service1.svc/Get_myHours",
contentType: "application/json; charset=utf-8",
dataType: "json",
data: '{loginIDtxt:"' + $("#loginIDtxt").val() + '"}',
success: function (response) {
var Days = response.Days;
var FinalTime = response.FinalTime;
$('#jsonData').html('');
$('#jsonData').append('<table><tbody><tr><th>' +
'Days</th><th>FinalTime</th>' +
'</tr><tr><td>' + Days + '</td><td>' + FinalTime +
'</td></tr></tbody></table>');
},
error: function () {
alert("error");
}
});
Note: In browser, use developer tool to see where you are getting error by pressing F12 and go to network tab.