Hi, I while back ran you tutorial at http://www.roseindia.net/tutorial/jquery/jqSquareroot.html. I copied to code to my location and ran it locally. It worked fine.
I went back to the original example figuring I must be doing something wrong. I again copied your example and ran it on my PC. When I ran it, the results return from the example were:
Enter number: 3 "Calculate Square Root"
where "Enter number:" is the label, "3" is my entry, "Calculate Square Root" is the button and "[object XMLDocument]" are the results after clicking on the button.
The only change in the source code that was copied was that I changed the version of jquery to jquery-1.7.2.min.js.
Does your example work in your environment if you use a later version of jquery?
Duh!! Please ignore my question. It turns out I was trying to access the application through directory file access not through an HTTP server. It works fine for me.