Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
function InitializeService(){
        service.useService('http://localhost:4656/WebToJson.asmx?op=GetAge');

// this line giving problem can you help me any one 


    }
    var StrYear, StrMonth, StrDay;
    function GetAge(){
     StrYear = document.DemoForm.StringYear.value;
     StrMonth = document.DemoForm.StringMonth.value;
     StrDay = document.DemoForm.StringDay.value;
     service.GetAgeService.callService("GetAge", StrYear, StrMonth, StrDay);
   
    }
Posted
Comments
Check if http://localhost:4656/WebToJson.asmx?op=GetAge link loads in browser or not?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900