Some way to work in a text box with HTML javascript editor

Hello

I understand that javascript does not work in a text box with the HTML editor. I need to use an event of javascript onFocus on my article which is a text box with the HTML editor. Someone did another way? Thank you.

Suni

Suni,

If you are talking about The MINIMAL HTML EDITOR or HTML STANDARD EDITOR then APEX is actually creates a version of the FCKEditor .

You can record events with the FCKEditor using JavaScript. I find including code JavaScript in the footer of the page TEXT are preferable because it is less likely to encounter problems that FCK editors still instantiated yet.

Here's and example popping up an alert on the entrance and exit.


The first function (FCKeditor_OnComplete) logs an event OnFocus and OnBlur with the FCKEditor that its creation is complete. Aware however that in this example, the events will be be assigned to EACH instance of the FCKEditor on the page. If you want to reduce it to a single or to assign different events to instances of the editor, you could do it using the IF or CASE instructions inside the OnComplete function.

I hope this helps.

Doug Gault
[Sumner technologies | http://www.sumnertech.com/]

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

  • Text box with AutoC fails the first time around

    4.2.1

    Hello world

    A text box with Auto c0mplete and the willing lov query of a filter on an another field (actually), two of which are defined by dynamic actions. Whats happening is the AutoComplete does not work. I've set up here

    In fact, when the user selects the command 1, it has only 1 product, it will show a field of the view, if you select 2, she has two products so that it displays a list of selection with B and C. Now when the user select all products like A, B etc. then it should be able to further refine research where when he register has, then the seizure AutoComplete search box shows ABDELKRIM (the name of the product)

    If possible if you can duplicate the page rather than modify the existing one on would be very nice incase you are testing.

    Thank you!

    The LOV query for the AutoComplete P586_SEARCH_LOV element depends on the value of the issue of P586_PRODUCT_NAME_LIST session state:

    select product_full_name from product_details pd, products p
    where  pd.product_name =p.product_name and
    p.product_name = nvl(:P586_PRODUCT_NAME_LIST,:P586_PRODUCT_NAME_DISPLAY)
    

    As you can see by using the Session Viewer, this was not initially a value.

    The value of P586_PRODUCT_NAME_LIST is assigned dynamically using LOV cascading. Similarly, P586_SEARCH_LOV must also be an element of LOV cascading, the property Parent of the LOV cascading item (s) to P586_PRODUCT_NAME_LIST.

    Note that the only State of Session save of P586_PRODUCT_NAME_DISPLAY display property is set to No, meaning that it does she hold a session state value. Its use in the P586_SEARCH_LOV LOV query is therefore redundant, following the the: P586_PRODUCT_NAME_DISPLAY variable bind reference will always be null. P586_PRODUCT_NAME_LIST still holds the value of product name, even when it is not visible.

    Questions in these last days, looks like you need to refresh your understanding of APEX session state...

  • Turn off the text box with the value of the checkbox

    Hello people,

    I am trying to activate or disable the text box with the value of the CHECKBOX, I have got the same thing with the BOX of ELECTION, with the javascript as follows: -.

    HEADER HTML
    ----------------------
    < script type = "text/javascript" >
    function disableOnValue (o)
    {
    If (o.value == 'Y')
    {
    document.getElementById('P2_TEXT_BOX1').disabled = false;
    document.getElementById('P2_TEXT_BOX2').disabled = false;
    document.getElementById('P2_TEXT_BOX3').disabled = false;
    }
    on the other
    {
    document.getElementById('P2_TEXT_BOX1').disabled = true;
    document.getElementById('P2_TEXT_BOX2').disabled = true;
    document.getElementById('P2_TEXT_BOX3').disabled = true;
    }
    }
    < /script >
    ---------------------

    under region Source whose Point display is < b > before < /b > foot and sequence is the last sequence of the entire region
    ----------------
    < script type = "text/javascript" >
    If (document.getElementById('P2_RADIO_BUTTON_0').checked is true)
    {disableOnValue (document.getElementById('P2_RADIO_BUTTON_0')) ;}
    on the other
    {disableOnValue (document.getElementById('P2_RADIO_BUTTON_1')) ;}
    < /script >
    ----------------

    and finally, to the title of point RADIO_BUTTON, HTML Form element attributes: -.
    -----------
    OnChange = "JavaScript:disableOnValue (this); »
    ----------

    the thing above works very well with the help of the RADIOBUTTON, but I want to try same thing with the CHECK_BOX I also tried a few changes but did not have any success so if someone help out me even that will be great and appreciated!


    Thank you

    Kind regards
    Kumar

    I also have the following in the Footer region region:

    <script type="text/javascript">
    x($x('P12_CHECKBOX'));
    </script>
    

    This is just to make sure that the items are disabled when the page is loaded, because the checkbox is deactivated

    Andy

  • Replace the text box with Image through breakpoints

    Hello

    I'm looking to replace the text boxes and icons with images and want to know if I can do this on several break points at the same time without having to go and manually change each breakpoint.

    My site is here: Movement of Boulder

    In the Services section of the wider breakpoint, you can see the images that I want, but if you minimize the browser window, you will see the images and the text that he was supposed to replace. Is it possible to replace all the text boxes with the images you want?

    Hello griffinb,

    If you delete a breakpoint text areas, they will be removed from all.

    After you have placed your image just right-click on it and select the option ' copy the style and position > to other breakpoints.

    Let me know if you have any problems getting there.

    Kind regards

    Ankush

  • How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    Ashley,

    What about window > show the rectangle enclosing (Ctrl / Cmd + Shift + B to toggle)?

  • Add up the scores in the text box with a variable

    Hello

    I create a quiz form that does not use the quiz slides (5,5) standard Adobe Captivate. I get the learner to mark themselves and enter the score into a text entry in a TextAreaWithVariable area. The scores are then displayed on the last page in the corresponding text box TextAreaWithVariable.

    I wish that Captivate to add up the scores on the last page. I've read somewhere that you use Actions in advance, so when the student enters the page it triggers the calculation by using the action of the Expression. The problem is that when you configure the action, it does not recognize the three TextAreaWithVariables on the page. They are all appointed, but the action does not pick up them.

    Could you get it someone please let me know where I am going wrong here.

    Thank you very much

    Nick

    Hi Nick,

    I've been blogging on the use of the text with Variables by Jim box:

    Extended features

    In the article referenced to in this post, you will find explanations in detail the advanced actions that I used.

    But I'm a little afraid that I need additional information:

    • you have a text box, with its variable partner on one page and this variable gets its value (20) by the user
    • How many of these slides you?
    • but then, you talk of multiple partitions that you want to summarize in a total variable to be displayed on another TextArea widget to the last slide.

    How you trigger the advanced actions to calculate the sum? I suggest that use you the action on enter each slide after the first question slide to temporary sum. Try to explain:

    1. Score of the first slide in question entered by the user and stored in the variable v_quest1
    2. Entering the second question slide create this advanced standard action triggered by action on enter on this slide
      • Expression v_sum = v_sum + v_quest1
      • Continue
    3. Entering the third question slide create a similar action with the score stored in v_quest2
      • Expression v_sum = v_sum + v_quest2
      • Continue
    4. When you enter the slide of score you the last of this breakthrough of similar actions to trigger and the final result will be in v_sum

    If you do not need to keep the individual from each question scores, you can even re - use only a single variable v_quest that would be associated with all widgets except on the slide to score and you can reuse the action advanced on each slide without having to edit.

    Lilybiri

  • How do complete you 1 text box with multiple drop-down list values

    I can fill in a text box with a value in a drop-down list, but if I have 2 drop-down list values going to the same area of text (multiple lines), the second drop-down list value removes the first value.

    (A similar code on the drop-down list 1 and 2 from the drop-down list)

    Change event - JavaScript

    If (xfa.event.newText == 'No') {}

    Form1.Page1.subform2.Description.RawValue = "no location listed.

    }

    If (xfa.event.newText == "Partial renting") {}

    Form1.Page1.subform2.Description.RawValue = "enumerated part place."

    }

    Do I have to Concat the fields in 1 text field so that it can have several values in drop-down list, and if so how do I do that?

    Thanks in advance for your help.

    Resolved:

    Place this script in the root of the subform in the FormReady - JavaScript event.

    oList var = this.getDeltas ();

    for (i = 0; i< olist.length;="" i="">

    {

    var oDelta = oList.item (i);

    oDelta.restore ();

    }

    Answer was found at http://forms.stefcameron.com/2008/09/29/restoring-the-of-your-form/

  • I just installed the latest Mozilla. When I open the browser, a small box with HTML, etc. automatically opens. How can I disable this?

    I just installed the latest Mozilla. When I open the browser, a small box with HTML, etc. automatically opens. I don't don't need it or want it to happen whenever I open the browser. How can I disable this?

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot.

  • CTRL + a doesn't work in text boxes with latest flash player in games (foe), the only way is with the mouse and pointer, or with the right button of the mouse and the option in flash

    Hi, ctrl + a works in the past in text boxes, now I can't use, is there any solution for that?, but once the text is selected, ctrl + v works, or ctrl + c, I do not know why only crt + a is disabled.

    Thank you

    Sorry, now I see that do not work in my computer, the problem is that I have assigned the CTRL + a in error to another tool who ejecting usb drives.

    Thank you very much.

  • Is there a way out quickly a single text box in several text boxes?

    I wanted for this feature for many years, and I want to know if there may be a script that can do this

    The scenario:

    I have a text box that contains 20 names. I want 20 text boxes, each containing 1 name.

    I know how to do it manually, but I want to be able to do this super fast, IE. make the machine for me to do.

    Thank you!

    Hi all

    The answer can be found here: is there a way to quickly break a single text box in several text boxes?

    separate lines of typelayer active;

    logic, if the properties of type are uniform;

    2014, use it at your own risk.

    #target photoshop

    If (app.documents.length > 0) {}

    myDocument var = app.activeDocument;

    var theLayer = myDocument.activeLayer;

    If (theLayer.kind == LayerKind.TEXT) {}

    Download the text a dleading;

    Var theLayer.textItem.contents.split("\r = Letexte");

    try {}

    Var first = theLayer.textItem.leading;

    }

    {} catch (e)

    Var first = theLayer.textItem.size * 1,2.

    };

    Var DECALER = 0;

    work outside of the table;

    for (var m = 0; m< thetext.length;="" m++)="">

    Duplicate layer, change its content and move it;

    var theNewText = theLayer.duplicate (theLayer, ElementPlacement.PLACEBEFORE);

    theNewText.textItem.contents = theText [m];

    theNewText.translate (0, DECALER);

    change the offset;

    DECALER = DECALER + first

    }

    }

    };

  • Why my links do not work in the text box next to the e-mail in Outlook?

    I created an email template in Eloqua, which is a two-column layout. The text box on the left has links that work very well. The text box on the right has links that do not work. This only occurs in Outlook. If I find the email in an another e-mail client, all right. What could be wrong causing the links is not working?

    If another person has ever run into this and found a solution, please let me know. I'm pulling my hair out!

    I called support this morning and all I had to do was move the text box on the right side to the top of a few pixels and now everything works fine. I guess when the two tables are the same height, Outlook rides them and cannot process the links properly. I like it when it's an easy solution!

  • Is there a way to rename the "object/text box" in the layer in the Panel?

    I have a provision that has several near areas of text twice in the workflow in a layer, each of them with a minor copy change. What shows in the list of "items" in the layer is the first line of each (default) text box and it happens that they all start with the same text in each. Therefore, in the Panel, I have a list of several items that all look the same and I cannot differentiate between them when I click on an individual that I have them turn on and off.

    I am aware that I can rename the name of the layer itself, but is it possible to rename items in the inside Panel of the layer? I'd love to rename some of them.

    If this isn't the case, I guess I would have to duplicate the entire layer several times, rename the layer itself, each of them almost identical except for editing text in small characters each. Looks like it would be a lot of waste of resources and space in the file.

    Thank you

    You should be able to re - appoint any object similarly - click to highlight the name.

  • To create a text box with a colored background but the text didn't appear not

    I'm doing a map of color-coding. It's just a black and white base card, but I filled in the cities with different colors using the paint bucket tool, to show which region they belong to.

    At the bottom of the map is a list of five regional offices and the offices of the area covered by each of them. I was hoping to create a box around the text, and then fill it (the box) with the color that corresponds to that particular region.

    Using the rectangle selection tool, I call a box around the text and filled with color. The opacity is set to 100%, so the text behind it disappeared completely. If I reduce the opacity of the text appears in grey, but I want the text to stand out and to be black.

    Using the Horizontal type tool I tried to redo the text everywhere again. However, the text I typed (see the text layer name) was not appear.

    Then I went in the character window and clicked rest character, hoping that the text arise, but it still does not work. The blue fill layer covers the original text, but is there a way to keep this original text, always be black, in order to keep the blue background? Or redo the entire text again in a new layer (as I tried to do below) would make more sense?

    Color-coding a Regional Map in Photoshop.JPG

    Change the blending mode of the layer of color, darker color should work well.

  • Tecra R940 - 1 hr: what happens to work out of the box with Linux?

    I'm considering buying a laptop Tecra R940 - 1 hr.
    I'm going to use it with linux (ubuntu) system.

    What happens to work out of the box?
    Should I expect any problems with the display/network/wifi/sound?
    What about camera, usb 3.0 and bt?

    What is possible to work? Suspend? Function keys? Fingerprint reader? SD reader?

    What's not to work?

    I run Ubuntu Studio (12.04) on a Tecra A11-ST3504, and everything works perfectly.

    However, your computer probably has the latest UEFI instead of the BIOS, and this causes problems for some with start-up and installation.

    If the live system starts and runs, I'd go for it.

    I'll put the admins the trouble to make their usual warning: "of course, Linux is not supported by Toshiba."

    Enjoy!

Maybe you are looking for