I am using ajax to send back what the user inputted to the jqxEditor. Thus I would like to limit the amount of content the end user can enter and subsequently send to the server.
I “could” simply crop what is being sent. However, I would like the user to see the limitation so they can adjust the content accordingly.
(Of course I understand I have to take the markup into consideration)
Any suggestions ?
Please, take a look at this example: http://jsfiddle.net/jqwidgets/L2Aek/
You could use .val() method and in other cases when you want to validate the value.