How to write xml in java script
How can we write a xml string and assing values to the node in xml string in javascriptand also how to call a web service from java script paasing a input parameter
<asp:ScriptManager runat="server" ID="sm">
<Scripts>
<asp:ScriptReference Path="MyScripts.js" />
</Scripts>
<Services>
<asp:ServiceReference Path="MyWebService.asmx" />
</Services>
</asp:ScriptManager>
<button id="clickMe" onclick="GetMe()">ClickMe</button>
https://www.asp.net/ajax/documentation/live/tutorials/ConsumingWebServicesWithAJAXTutorial.aspx