Nieuw lid |
|
oke, maar ik ben dus nog bezig met de opzet van de site.
maar wat jij dus bedoeld, is dit stukje?
<script>
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit)
{field.value = field.value.substring(0, maxlimit);}
else
{countfield.value = maxlimit - field.value.length;}
}
</script>
<script> function textCounter(field, countfield, maxlimit) { if (field.value.length > maxlimit) {field.value = field.value.substring(0, maxlimit);} else {countfield.value = maxlimit - field.value.length;} } </script>
|