Cosa c'è di sbagliato con il sottostantelunghezza jquery di testo()
<html>
<body>
<div id='test')28</div>
</body>
</html>
<script>
$(document).ready(function(){
if ($('#test').text().length() > 0) // error here?
alert("test");
});
ottengo un errore di JavaScript cioè 6 dicendo funzione prevista sulla linea segnata errore ..?
grazie al punto 7 del resto si è affrettato mock up per mostrare lo scenario. – van