Get text of label with jquery
try this:
var g = $('#<%=Label1.ClientID%>').val();
or this:
var g = $('#<%=Label1.ClientID%>').html();
you are missing the #
add this in the head section:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
Try this
var g = $('#<%=Label1.ClientID%>').text();