bar
show code
<span class="foo">
bar
</span>
<script>
alert($('span.foo').text());
</script>