I tried this solution in this post:
http://forums.nubuilder.cloud/viewtopic.p ... ers#p12550.
It does not work for me. Would you please help?
What has the html object to be? I put an input box read-only:
Code: Select all
<input readonly type=text name=bases
size=3 value="0">
Code: Select all
function nuLoadEdit() {
$('#531dcb7d9bf9567').keyup(function () {
var max = 30;
var col = 'grey';
var len = $(this).val().length;
if (len >= max) {var col = 'red';}
$('#bases')
.text(len)
.css('color', col);
});
}