Anyway do a MODAL popup window in the APEX, using JavaScript

Y at - it anyway to make a MODAL popup window in APEX, using JavaScript.

What I do is, at various stages in an application, I'm coding, the system will display a pop-up window, prompting users to enter their credentials. These credentials are then verified via LDAP.

Basically I don't want the user to be able to close the window without entering their password or by clicking on the Cancel button.


Here is the code I use:

onClick = "javascript:esign();" "(Adding the HTML Form element attributes)


function esign() {}
popUp2 ('f? p = & APP_ID.:8: & SESSION.: & DEBUG.:', 450, 200);
}



I did a quick search on google and I met some JavaScript libraries that could do what I'm after is to say prototype.js, jquery.js
but I was wondering if there is a default library that comes standard with APEX.

Any help gratefully received

Thanks, Keith

create a button calling url and url target as the value
JavaScript:modalWin();

Place this script in the header

You can create a button in a modal window to close
and use this code for the text label of the button

Closet

Tags: Database

Similar Questions

  • We tried the window. ResizeTo and window. Methods MoveTo using javascript. It doesn't seem to work in version 9.0.1. Please suggest any alternative.

    Hello
    We tried the window. ResizeTo and window. Methods MoveTo using javascript. It doesn't seem to work in version 9.0.1. Please suggest any alternative.

    Thank you
    Avinash

    This is no longer allowed for security reasons (bug 565541).

    See https://support.mozilla.org/nl/questions/880032

    https://developer.Mozilla.org/en/DOM/window.MoveTo

  • Access to the value of the application using javascript

    How can we access the value of the APPLICATION using javascript? I tried $x ('REQUEST'), but it does not work.

    Thank you

    Hello

    If you use & ASK. (including the & and the.) in your javascript directly it will be replaced by Apex with the value of the actual demand

    Andy

  • Show or hide the buttons of the model using JavaScript

    Can someone tell me to know to disable, show and hide the buttons of the model using JavaScript? In my case, I use AJAX for validation and the validation failed, I want to deprive the person's ability to submit the form. I did successfully using the HTML buttons but they seem ugly and do not correspond to the theme of the application. I really want to do using the model based buttons. Anyone know the answer to that?

    You can find that here:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:143

    The only problem you have to solve is to assign an id to each template button. Rather than use an id string coded hard = "buttonHide1" as in my example, you could use id = "" #LABEL # "If there are a lot of different buttons you need to display / hide on a single page." However, at the same time make sure that the processes are also conditional and follow the logic. To hide a button, this isn't a guarantee that a process can not be executed.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Modal Popup window skins help pop-up window

    Hello everyone,

    Today, I walked on a question about popup windows.
    I created an application with pop-up windows for editing and inserting new records.
    I left the model element to label "optional with help.
    When I now click on a label of the element help - pop-up window appears, but it is hidden behind the window pop up, I work.

    Y at - it a solution for this.
    Is it possible to change the order of the aid or the modal window popup?

    All advice is appreciated.

    Concerning
    Marc

    There are a lot of options to customize the behavior of the jQuery dialog box. You can set the height as auto, but you must specify a fixed width based on the content.

    $( "#TEST_POPUP" ).dialog({ height: "auto", width:500 });
    

    Default value for height is automatic, you may not specify it.

    See http://docs.jquery.com/UI/Dialog for more information.

    Kind regards
    Hari

  • How to convert a message Inline in the Page of the Apex of javascript alert message

    Hi all. IM new at the Apex.

    Current - approach
    I have a region report dynamics developed using the API like APEX_ITEM etc. I use scripts in java to validate these dynamic elements and Alerts popup as shown below.

    function ValidateNotObservedCB (p_row_num)
    {
    var v_row_num = p_row_num;
    var v_not_observed_cb_status = document.getElementById('f_notobserved_'+v_row_num).checked;
    var v_not_in_district_cb_status = document.getElementById('f_notindistrict_'+v_row_num).checked;
    var v_program_code = document.getElementById("f_program_code_"+v_row_num).value;
    If ((v_program_code.length > 0) & & (document.getElementById('f_notobserved_'+v_row_num).checked == true))
    {
    "BOLD" alert ("you have already entered a program code.") "BOLD"
    document.getElementById('f_notobserved_'+v_row_num).checked = false;
    document.getElementById('f_notobserved_'+v_row_num).value = 'n';
    } else if ((v_program_code.length==0) & & (document.getElementById('f_notobserved_'+v_row_num).checked == true)) {}
    document.getElementById('f_notobserved_'+v_row_num).value = 'Y ';
    document.getElementById('f_notobserved_'+v_row_num).checked = true;
    } else
    {
    document.getElementById('f_notobserved_'+v_row_num).checked = false;
    document.getElementById('f_notindistrict_'+v_row_num).checked = false;
    document.getElementById('f_notindistrict_'+v_row_num).value = 'n';
    document.getElementById('f_notobserved_'+v_row_num).value = 'n';
    }
    }

    Question/problem - how can I convert these to Inline messages alert messages to indicate on the page, similar to what appears when we take stock of the Validations at the APEX.

    Waiting for answers because this is urgent.
    Thanks in advance,
    Madhu

    You created an empty paragraph with an Id that you might find in your javascript code with

    document.getElementById ('message')

    After this in your javascript code say you in this paragraph "now your text is:" with the function

    innerHTML = 'your message ';

    And the generated HTML code is

    + Your message +.

    And everything works fine!

    Do not forget to say that my answer was 'Correct '! Thank you...

    Bye and good luck on APEX.

  • How to configure in the apex using other engine of transformation XSL - FO instead of Bi publisher

    can someone give me a quite complete example for me on the engine configuration of processing XSL - FO in the Apex.

    I'm feeling rather puzzled about the example set by the introduction of the link:http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html#06

    in the apex_fop_render.jsp file.

    Hi 2952702,

    2952702 wrote:

    Please change your login username of "2952702" to something meaningful. Reference: Video tutorial how to change username available

    When I install the apex5 rest data service, the installation guide tell me pdf printing is supported by the rest data service

    but after the installation of ADR, I don't have the result I want.

    Yes, as you directed in the code snippet included listener Web Oracle APEX Documentation Options, Services (ORDS) data Oracle REMAINS usable as a PDF as FOP support print server is included in the ADR 2.0 and later (last ADR 3.0).

    Reference:

    NOTE: The links are for APEX 4.2, but they still apply for APEX 5.0, if you plan to use ADR 2.0 and later versions. These links show how to configure ADR as a print server and how to design and print reports.

    I hope this helps!

    Kind regards

    Kiran

  • How to create the custom using Javascripts in PLM for Agile process validator

    I have already created customized using ASP.Net validators. But now I need to create custom using Javascript validator.

    Please provide me the details

    1. how to create custom validator and where to create?

    2 provide me with code samples for custom validators javascripts

    Thank you

    Floquet

    I am currently using 6.1.1.5

  • How to change the color using JavaScript

    How you specify the color of a shape by using JavaScript to animate?  The code below does not work.  I'm not find documentation on how to work with JavaScript in Animate out snippets of code in box provided.

    this.redBox.style.color = "#00FF00";

    this.redBox.style.color = "rgb (155, 102, 102);

    The API chart in canvas mode is CreateJS. CreateJS is very well documented.

    EaselJS v0.8.2 API Documentation: Graphics

  • Rename the bookmarks using JavaScript?

    Hi all

    I searched the internet and Adobe forums and I can't find an answer to this. Is it possible to rename a bookmark using JavaScript? I want to run a batch renaming on my favorites to change or replace employees of employee names. For example:

    12345678 > John Doe

    I have to do this on a large amount of files that contain a large number of employee numbers and that's why I'm looking for a JavaScript solution. Thank you for all your help.

    There are different ways you can read an external file. It can be done using an object DataObject or even util.readFileIntoStream (), if the file is not too long.

    Once the contents of the file as a string you will need to process this string, divided by lines and then divide each line to get the data you need in a usable format.

    Then, you would need browse Favorites, by comparing each element in it the values in the list of the text file and rename it if it is a match.

    If the Favorites tree is not flat (that is to say, it has bookmarks under) you must use a recursive method to traverse it.

    This isn't a simple project for a beginner...

  • Close the model using JavaScript tree Panel?

    When I open some of our documents PDF 3D the model tree opens as soon as the user activates the canvas. We want to avoid this.

    Is it possible to close the model via Javascript tree Panel?

    What is a property of the file to be changed when it is created in Acrobat?

    Thank you

    Not with a script - it is defined as a preference on the 3D annotation. Right click and choose Properties, and then click the tab 3D uncheck the item 'open model tree' and save your file.

  • Test for the day of the week, using javascript?

    Is it possible to test for what day of the week has been selected in a Date field using javascript?

    I have a script that checks if an option button 'Day' is checked and if so throws an error if the input time is not between 06:00 and 15:30. I need to change the hours between 06:00 and 14:30, but only if the day of the week is a Friday (selected in the field 'Date').

    Any ideas would be really appreciated.

    If

    (TimeReceived.isNull == true()

    {

    xfa.host.messageBox ("Please enter a time received");

    TimeReceived.rawValue

    = null;

    xfa.host.setFocus ("TimeReceived");

    }

    else If ((TimeofCall.Day.rawValue ==0))

    {

              if (TimeReceived.rawValue.search(":") > 0)

                        val1 = TimeReceived.rawValue.replace (":", "");

    on the other

                        val1 = TimeReceived.rawValue;

              if (val1 < 600 || val1 > 1530)

    {

    xfa.host.messageBox ("If 'Airtime' has selected day, the"received time"must be included in the normal working hours (06:00 to 15:30).") Make sure that you use military time, please re-enter. ») ;

    TimeReceived.rawValue

    = null;

    xfa.host.setFocus ("TimeReceived");
    }
    }

    FormCalc has a date function to obtain the day of the week.

    Form1.Page1.Subform1.DayOfWeek::calculate - (FormCalc, client)

    date_ var = Date2Num(date.formattedValue,"MM/DD/YYYY")
    $ = Num2Date (date_, "EEE")

    The "EEE" model returns MON, Mar, sea, etcetera. You must synchronize the date pattern on the DateTimeField ('date' in my case) with the script.

    "dayOfTheWeek" could be a hidden field and you can reference the 'dayOfTheWeek.rawValue' of your JavaScript.

    Steve

  • Development of the element using Javascript

    Hello experts!

    I have a problem with the setting of a value of element using javascript.

    I have a button on my page which should regulate my point P1_SORT to the value 'test '.

    I call the function with the following statement in the section my button URL:
    javascript:f_setItem('P1_SORT');
    The problem is that the item is not defined when you call the function.
    Maybe you can help me understand why the service is defective and how it should be like.

    The code I have (in my head of page) is as follows:
    <script language="JavaScript" type="text/javascript">
    function f_setItem (P1_SORT)
    { 
    get.add(P1_SORT,('test').value)
    gReturn = get.get();
    get = null; 
    ;
    }
    </script>
    Thanks for your help!

    Sebastian

    'test' is a string? or the element name?

    Try this:

     function f_setItem (P1_SQRT)
    {
    var pValue='test';
    $x(P1_SQRT).value = pValue;
    }
    

    or

     function f_setItem (P1_SQRT)
    {
    var pValue='test';
    $x('P1_SQRT').value = pValue;
    }
    

    but of course it is jquery

    Edit: second work because the element name is P1_SQRT -, as a variable in the function definition. If U accept jquery U should combinate with this example and I think it should work fine

    Edit2: Var initialized U get?

  • How to install my BT stack for windows on the laptop using Windows Vistta SP1

    When I try to install my newly bought USB Bluetooth adapter (CN-512/521 v2 001) on my laptop from another production that has an operating system of Windows Vista SP1, it will help not make me, saying "Bluetooth Stack for Windows incompatible with this version of Windows, please check with Toshiba - contact Toshiba on upgrades or other possible solutions to make this program compatible with this version of Windows.

    But when I was directed to the Toshiba site I could not find any help or advice on this subject. Can someone tell me what to do?

    You are right. Use at least 5 or later if you want to install a Vista. Visit the website of the seller adapter USB Bluetooth if a newer version is available. The version on the Web of Toshiba Bluetooth site is customized for these books, and not as a result of your hardware.

  • 5 years of windows updates the historical use of the available memory lots?

    I want to delete Windows update history in order to increase the available memory.

    On Saturday, 22 September 2012 21:52:43 + 0000, rickxxx wrote:

    I want to delete Windows update history in order to increase the available memory.

    First of all, please note that the term 'memory' is used to designate the
    place where the computer contains the program and data with which it is working
    for the time being. It's normally a memory (RAM), but who can
    be extended with the page or swap hard disk file. The word
    'memory' is never used to refer to the space on a drive (be it
    It's a hard drive, floppy disk, CD, DVD or thumb drive). Space on a
    hard drive is normally called "storage" or simply "disk space".

    Call for 'memory' disk space is not so much wrong as we have just
    unconventional. In a sense, the disk space is, of course, memory, but the
    important thing to realize is that the word is never used in this way.
    and if you do, you do so at the risk of confusion seriously your
    public.

    So I guess that you may have about disk space, not memory. Do not
    remove the previous updates, since doing so put you back in the
    situation before the updates, with all the problems and risks to the security
    only updates corrected.

    Also note that the amount of disk space, you may save is relatively
    small. And if you are short on disk space, there are various things
    You can do this will save disk space.  But the amount of disk
    space will be only a few cents worth. If this amount is
    It would be important to you, not more than one
    Palliative and the only real solution to your problem is to buy
    a larger drive.

    Ken Blake, Microsoft MVP

Maybe you are looking for

  • Satellite X 200-NVLDDMKM stopped responding BSOD

    Hi all Have a stock of X 200 (not overclock or any change at all) but constantly encounter NVLDDMKM BSOD. After a very quick search on Google, you can determine that this is an endemic problem with Vista and NVIDIA cards. I was wondering if someone T

  • Satellite M70-148: Question about Windows keys

    I have a M70-148. According to the sepcs, there should be 2 keys of windows, I have one at the top right of the keyboard, where is the other?right next to the space bar, there is an empty key, how can I configure it to be a key victory?

  • slate7 hd unable to receive files via bluetooth

    Hiya, I have a HD Slate7 7 '' android pad and used for 3 months and recently noticed that it became unable to receive files via bluetooth transfer. I restarted the machine and also restarted the bluetooth but always without success. However, I can st

  • Side-By-Side errors on 99% of the programs... I need help!

    Two nights ago, I turned off my computer and let it install the updates as she did. Windows update history lists as follows: Tool to remove malware Windows x 64-may 2009 (KB890830)Update definition for Windows Defender - KB915597 (definition 1.57.132

  • Activation after 30 days

    I use Linux and if I rarely log in Windows Vista. Recently, I tried to log in and told me my product key was not valid - and the 30 days trial period had taken end. I have Vista key practical (bottom), but the expiration of the 30 day period (I had n