I have the following jquery and want to check if the text box is empty before the code is run:
<script type="text/javascript">
$(document).ready(function () {
if ($("#FNameTB").val().length < 0) {
$("input#FNameTB").labelify({ labelledClass: "greylabel" });
}
</script>
but its not working.