Check out the this link
jQuery.
html()
Obtains the HTML content of the first element in the matched set.
$('#Container').html()
text()---> this is most simple and used
Concatenates all text content of the wrapped elements and returns it as the result of the method. That means this method return all the string which display on our browser.
$('#Container').text()
val()
Returns the value attribute of the first element in the matched set. When the element is a multiselect element, the returned value is an array of all selections. This method only work with control like input, select, button etc. It not work with div, span, p etc.
$('#txtCountry').val()