Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How to put a characters limitation on a richtext field?

  • 1 antwurd
  • 0 hawwe dit probleem
  • 5 werjeftes
  • Lêste antwurd fan cor-el

more options

The following code worked with IE, but not with Firefox:

var fieldcontent=document.forms(0).Body.value if (fieldcontent.length > 150)


User Agent

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

The following code worked with IE, but not with Firefox: var fieldcontent=document.forms(0).Body.value if (fieldcontent.length > 150) == User Agent == Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

Alle antwurden (1)

more options

Use square brackets instead of rounded brackets (it's an array)

var fieldcontent=document.forms[0].Body.value if (fieldcontent.length > 150)