Some general tips, even if you get an answer
.val () = getting value from elements such as text, text field, selection, checkbox
.text () = getting text values ( excludes html tags ) from elements such as text, text field, selection, checkbox
.html() = html , span, div p table..etc..
<input type="text" id="someid" value="1234" />
$('#someid').val();
<p>bla bla bla<span>hello</span></p>
$('p').text();
$('p').html();