.text()
labelText = $("#myLabel").text()
id
<label id="myLabel" for="male">Male</label>
<label id="Label1">labeltext spantext</label>
<script> var lbltext = document.getElementById('Label1').innerHTML; </script>
document.getElementsByTagName('label')[0].firstChild.data
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)