Getting the value of the HTML Editor text box

Hello

I put a HTML Standart editor and I want to get the current value of this javascript code.

I tried this but it does not work:

document.getElementById('P2_X').value

Is there something else to find it?

This should work:

var oEditor = FCKeditorAPI.GetInstance('P2_X') ;
var pageValue = oEditor.GetHTML();

Best regards
Mathieu

Tags: Database

Similar Questions

  • How to get the description of text box with some HTML < P > tag

    Hi friends,

    I created two point, an element of box P1_RICH_TEXT_FIELD rich text field and a text item field area P1_TEXT_AREA. I created the calculation process to copy the value of P1_RICH_TEXT_FIELD in P1_TEXT_AREA. Calculation works well but contect copy in P1_TEXT_AREA are

    < p >

    Test Test description description < /p >

    < p >

    Test DescritionTest DescritionTest description < /p >

    < p >

    Test DescritionTest DescritionTest description Test Test DescritionTest Test Test Test Descritionhkjhkh < /p > description description description description


    I need to copy with the tag < p >.


    How to get the description of text box with the HTML < P > tag



    Thank you

    Hi Alex,

    Thank you very much. You want very criticle problem for me. Thank you very much.

    Now, there are several tags in the rich text field

    "span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, big, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, b, u, I, Center, dl, dt, dd, ol, ul, li, label, table, caption, tbody, tfoot, thead, tr, th, td" etc.

    How can I move all these in REGEXP_REPLACE (: P1_RICH_TEXT_FIELD, ')

    |

    (", 1, 0, im ') code.

    Thank you

  • Help with a script that converts the HTML object text box

    I don't know anything about programming scripts and unfortunately inDesign isn't any panel actions as Photoshop..

    I need a script to convert a text box with HTML code inside a HTML object... I think not, it should be very difficult

    How could be the following:

    (1) select the text box
    (2) cut all text inside
    (3) remove the empty box
    (4) select selection tool
    (5) go to OBJECT/INSERT HTML
    6) paste it into the code before you cut the text box
    (7) OK and close the menu INSERT HTML code

    If the Script works, we could change with HTML code inside a text box to an object HTML (video, card, animations,...)

    The first step could be manually selecting each text box or by selecting all of the boxes that start automatically by "< iFRAME '

    1000 thanks

    Remember that you can not get an answer it if you don't show any attempt of your choice.

    FWIW

    Loïc

  • Save the text of the HTML editor

    Hi all

    I use the Application express 3.2 on 10 G XE. I created a text field element and it later changed to "text box with the HTML editor. Now I want to record everything written in this field to the column (varchar2) of the custom database with its HTML tags (eg. for "BOLD" b > something < / b) on click of the save button.

    Can someone help me with this?

    Thank you
    Sunil Bhatia

    Published by: Sunil Bhatia on April 15, 2009 12:16

    Hi again!

    I'm glad that I was able to help you. Would you please so kind and give me my answer reward points.

    concerning

    Florian W.

  • Is there a way to get the HTML code of my Muse whole site?

    I posted this question earlier, but I have not received a solid answer on "How can I get the HTML source code to my site."

    That's what I did:

    I chose "Export to HTML" for my site in Muse CC 2014, but I gives me a folder with several items inside.

    Here's my question: How can I get the HTML on my site in order to be able to paste my site in an HTML editor and upload it to a site?

    I need to download my site in the HTML of a Web site editor. I know that I can use a text editor to get the HTML code for the site, but I don't know how to get the HTML of "my site." When I export to HTML, I get only one file with content inside.

    What I need is just the HTML source code for the 'whole site' I did so that I can paste the site I created in Muse in a HTML editor.

    Thank you!

    I see, you will not be able to use the Muse like this. You must be able to have the full html of tact folder structure.

    The only way you would be able to do would be to copy all of the HTML files and create an exact structure like it on your server. Your online system probably who can't stand by the sounds of it.

  • Select the picture, as well as the html editor

    I have a web application when the user selects an image to display from the server.

    I didn't give them admin backend access, so I put the web application on a Page with the intention of placing in a secure area.

    But put an end to all entries when I was at the back, like the ability to select an image to display (or any other medium besides) no longer have this link when displayed on the page.

    The Description, which is the HTML editor in the back-end also has a text field for entering text, which does not allow the user to make the text very fancy at all.

    What Miss me?

    It is the backend of the system built with these functions. The front-end server is your domain name - which is to code and create, you must implement an editor, styles and so on.

  • Validate the amount of data in the HTML editor before posting

    Is there an easy function that I can use in a validation process to ensure that the content of an element of the HTML editor is less than 32 k?

    Hello

    He set it the function block () instead of {}, it is either "text/javascript" we define the mimetime of the content of the tag:

    <script type="text/javascript">
    function myfunction()
    {
    ..code..
    }
    </script>
    

    Andy

  • When I try to down load a pdf file, it is written in the computer talk. I think it's because the html editor is incorrect

    original title: pdf problem

    When I try to down load a pdf file, it is written in the computer talk. I think that this is because the html editor is incorrect, it is fixed to Notepad. can someone tell how to fix this?

    Notepad can not read the PDF. SumatraPDF download then install it . Download the exe file. Then run

  • Get the HTML of URL code

    Hey everybody!

    Here's my question:

    How can I get the HTML code of a page Web (using its URL) programmatically? like when you do ALT + RBV in the browser BlackBerry, but programmatically to be able to do some treatments on this HTML...

    Thank you in advance for your help!

    PS: works on OS 6.0

    Look at the sample of httpdemo - he reads the html code in a byte array and you can treat it here.

  • How to get the HTML of a web page?

    Hello

    Fisrtly I am a french student, sorry for my bad English level... I have an application that retrieve information about a web site, for this I wish to retrieve an html page in a string, after that, I cut the string to retrieve specific information.

    My question is: How can I get the HTML of a web page in a string?

    In Java, I can, but with JDK Blackberry I don't know,

    Waiting for your response.

    Courtial Florian

    Welcome to the support forum.

    you download the html code with a standard http get operation. See the httpdemo for a good sample.

    Basically, you need to
    http://www.BlackBerry.com/developers/docs/7.1.0api/javax/microedition/IO/HttpConnection.html (also contains a sample)
    and
    http://www.BlackBerry.com/developers/docs/7.1.0api/NET/rim/device/API/IO/IOUtilities.html#streamToBy... (as the simplest method to read the inputstream)

    as the BB has some difficulties with access to different network types you must also http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/io/transport/ConnectionFactory...

  • Values in a dialog box application answering the multi-line text box field

    Hello

    When the user clicks on a radio button in my form a response request dialog box is displayed for the user to enter data.

    The value of the response dialog box is then added to a multiline text box.

    The script is on the mouse to the top of the radio button action and works fine the first time you click on the radio button.

    If the radio button is checked once again, the value of the response dialog box replaces the existing value in the multiline text box.

    What I need to do, is to have the response values show on a new line in the text box whenever you click on the option button.

    Can any advise please how to revise my script to work?

    Target for the field multiline text box

    var t = this.getField ("ActionAgenda");

    Response from dialog when the user clicks on the radio button

    var cResponse = app.response({)

    cQuestion: "enter your Action Agenda Item."

    ({CTitre: 'Action program'});

    Alert if you cancel

    If (cResponse == null) {}

    App.Alert ("Action point not will be not entered");

    Place the data in the dialog box in the target domain

    } else {}

    t.Valeur = cResponse;

    }

    Any help will be greatly appreciated.

    Thank you

    Change this line:
    t.Valeur = cResponse;

    To do this:
    t.Valeur += "\n" + cResponse;

  • Background color of the HTML editor

    Hello

    Is it possible to change the background color of the HTML Editor interface. The actual color is not wery well with our model...

    Thank you.

    The HTML editor is the "FCK Editor" of the former, and the config so that it is stored on the server where all the javascript for your server instance is stored. You can change a large part of the configuration of the HTML editor. Documentation to change the configuration of FCKEditor is here:
    http://docs.FCKeditor.NET/FCKeditor_2.x/Developers_Guide/configuration/Configuration_File

  • validation of maximum size on the element of text box

    Hello
    I couldn't find any station associated with this type of validation. I have a text box on a form. the maximum size of the associated database column is 512 bytes. I need a sort of validation that will tell the user that the maximum size is 512. currently the text box allows the user to write as muc has he wants and throws his mistake if he spends more than 512 bytes.

    ORA-20505: DML error: p_rowid = 63, p_alt_rowid = MEMBER_NOTES_ID, p_rowid2 =, p_alt_rowid2 is. ORA-12899: value too large for column 'DW_PROD '. "" "" MEMBER_NOTES '. "" NOTES_TEXT' (real: 1016, maximum: 512) ORA-02063: preceding the line of DATA source
    Error failed to process row in the MEMBER_NOTES table.

    None of graceful.

    Any thoughts?
    Thank you.

    Hello

    You can use the Type of 'text box with character counter.

    Hope this helps,

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

  • He won't let me spend just about anything with my cursor on my mac, none of the images or text boxes are locked!

    He won't let me spend just about anything with my cursor on my mac, none of the images or text boxes are locked!

    Ok.

    Try a reboot and if it does not, see replace your preferences

  • Textfield to switch text display are dynamically with the html editor

    Hello

    I have a page element that the user can type in. Sometimes
    the user would rather have html editor but sometimes
    It is a text box so that they can type in the text
    explicitly with the html tags.
    Is it possible to have a button to switch
    the display type of textfield to text are with the editor html on the fly? Thank you.

    Suni

    Suni,

    If you don't mind submit page, you can then use conditional logic. Add two elements to the form: point of selection, the text box, HTML editor. Use the selection element to allow the end user to choose, then use the attribute conditional display of each item to show/hide the.

    You could do this with JavaScript, but it will take more work.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen
    http://sourceforge.NET/projects/plrecur

    You can reward this answer by marking as being useful or correct ;-)

Maybe you are looking for