|
@{
ViewBag.Title = "WAJavascriptTemplate";
}
<script type="text/javascript" defer="defer">
var proxy = new ContractEndPoint.WebApiProxy();
proxy.GetText(function (data) { $("#method1res").text(data); });
proxy.RepeatText(new ContractEndPoint.Message("Hello"), function (data) { $("#method2res").text(data); });
</script>
<h2>WAJavascriptTemplate</h2>
<label>Result of GetText(): </label><label id="method1res"></label>
<label>Result of RepeatText(new ContractEndPoint.Message("Hello")): </label><label id="method2res"></label>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.