jQWidgets Forums

jQuery UI Widgets Forums Editors Editor Limit jqxEditor content length

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Limit jqxEditor content length #99010

    dishmann
    Participant

    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 ?

    Thanks

    Limit jqxEditor content length #99073

    Hristo
    Participant

    Hello dishmann,

    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.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.