txt1="What a very";
txt2="nice day";
txt3=txt1+txt2;
alert(txt3);
The above example is very basic. I got it from here:
http://www.w3schools.com/js/js_operators.asp
I don't know anything about web services. Perhaps the example above isn't what you are looking for, but I figured it is a start. Does anyone have any way to invoke methods from web services?