microsoft web services

Ajax Call to Webservice

Ajax call to the services can be make in the following manner. $(function () { $("#callnow").click(function () { thirdCall(); }); }); function thirdCall() { var obj1 = { Colour: "Red Maruti", Price: "2995" }; $.ajax({ type: 'POST', contentType: 'application/json; charset=utf-8', data: JSON.stringify({ cat: obj1 }), url: "Services/DemoService.asmx/AddCarData", dataType: "json", success: Read more…


Rounding off in Angularjs

Rounding is so simple yet so complicated when it comes to doing so in web applications. Angularjs is a powerful tool when used correctly can make our life very very easy. Rounding can be done manually using some mathematical function in controller. But Angular provide separating such utility functions to Read more…