added an example that demonstrates how to send data to server using ajax and show the response in a tab