').appendTo('.startfields');
});
}
}
/*This function first get the value of Textarea. And read length of that Textarea
character. then compare the value of set value.*/
function displayWordCounter() {
var max = 0; // MaxChars naar Integer
if (max > 0) {
var getTextValue = $j('#contact-form-message').val(); // Get textarea value
var getTextLength = getTextValue.length; // Get length of input textarea value
if (getTextLength > max) { // Compare this length with total count
getTextValue = getTextValue.substring(0, max);
$j('#contact-form-message').val(getTextValue);
return false;
}
$j('#textcount').text('(' + String(max-getTextLength) + '/' + max + ')');
}
}
For any questions you may have I will be pleased to hear from you. I'll make sure to answer your query as soon as possible.