What is wrong with the below
<html>
<body>
<div id='test')28</div>
</body>
</html>
<script>
$(document).ready(function (){
if ($('#test').text().length() > 0)
alert("test");
});
I get a javascript error in IE 6 talking about a function expected in a line with an error mark.?
source
share