changing text in editor field

Home Forums Quform WordPress changing text in editor field

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by Ally.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35466
    dirklaeremans
    Participant

    Helly Ally,

    I am trying to change the text in an textfield with editor switched on.

    $(‘.quform-field-6_5’).val(“123”);

    works perfectly for a normal text area, but not for a “edtor” text area.

    I tried
    $(‘[name=quform_6_5]’).val(“123”);

    which seems to change some underlying value, but does not change the visible part of the text editor.

    How can I change the text in the text editor?

    #35467
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #35468
    dirklaeremans
    Participant

    Great. Works perfectly.

    How do I get the content of this editor field? When using

    $(“[name=quform_6_5]”).html()

    I am getting the original content. Not the changed content after editing the field.

    #35471
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy