Apex and jQuery

Hello

Version of the database that you are using: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
Application Express version: 4.1.1.00.23


I feel pretty stupid right now because I can't understand this.

How do you call a jQuery statement to run it?

I'm trying to limit a date picker so that weekends cannot be selected and found the following:

$("#datepicker").datepicker ({beforeShowDay: $. datepicker.noWeekends});


But have no idea how to call it or where to put it. Lot of information about what you can do, but can't find anything on how to do it?

Thanks in advance,
Chuck

Hello Chunk,

As far as I KNOW, the settings that you can specify point date picker are limited when you use item "date selector" apex. (you can find them under the item-> settings)

  • Create a normal text box item, P1_TEXT_ITEM_DATE
  • Put code under "run when the page loads" next to the article

    $("#P1_TEXT_ITEM_DATE").datepicker({ beforeShowDay: $.datepicker.noWeekends });
    

    Now you have a total point of date picker settings control. You can use any settings that you can find on the jQuery documentation.

    APEX-picker to help has some advantages, for example when you set point in read-only, then APEX link of the APIs of picker for the element etc..

    Kind regards
    Hari

  • Tags: Database

    Similar Questions

    • APEX 4.0 and JQuery-UI - Bug either, or am I wrong positioning

      Hello


      Task is to use JQuery-UI

      Here's what I did first

      1 > in the HTML header and the Body attribute, I added the statements below
      <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" />
      <script src= "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
      2 > JavaScript > Exceute when loading the page, I added the code below
          $("#myTab").tabs();
      The code above does not work...

      But if the change in the code above to indicate as below it works
      <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" />
      
      // reference to jquery.js from google added ..
      <script="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
      
      <script src= "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
      2 > JavaScript > Exceute when loading the page, I added the code below
          $("#myTab").tabs();
      Why I need to make reference to JQUERY in googleapis, when its already there...
      I noticed that it happens when I am referring external jquery-ui... for the creation of widget like tabs which is not added in the jquery-ui custom built into the apex.


      If I wrong help please...

      Thank you and best regards,
      Shijesh > > >

      Apex_noob,

      Jeff was right that the computer did not work properly. Jeff, Apex_noobs initial application was to remove the need to load the library jquery twice.

      I should have mentioned this before but jquery ui 1.7.2 does not work with jquery 1.4.2 as it is not compatible. On page 8, I went to use googles api 1.8.1 which is the latest version. He now moves between the two regions.

      Strangely the Apex of jquery 1.8.0 version includes no element of the jquery ui tab.

    • How to get the content of a textarea with bbui and jquery

      Hi, I have a problem. I build an app with bbUI and jQuery. Now, I need to get the content of a Textare when someone clicks on the record in the next page:

      Text Entry Examples
      Text Area

      my javascript code looks like this:

      function save() {
          alert($("#myinput").text());
      }
      

      what I have to change to get this working? I don't get the "123", but when I change it is always '123 '.

      I believe you can use the .val property.

      $("#id").val()
      
    • How to download a file .xlsx in APEX and how to store in a Table?

      Hi team,

      I have an item "Browse file" to transfer a file in any Application in the APEX. Ce_que I want to know, it's only 1) where I can find the downloaded document, 2) how can I move the entire folder in any table, 3) how can I saw the downloaded file by clicking on the button Preview in my application. Please help me do the above things.

      Thanks in advance,

      Chennakesavan.

      If you just want to keep it as a large object (BLOB) so it depends on your version of the APEX and that setting associate you with the widget to browse to files.

      If will probably start in apex_application_files, but you can move it elsewhere, or load it directly into your own BLOB column for a record.

      There are a BUNCH of info on this line, for example:

      OraExplorer file browser' 4 APEX with specified in the source item attribute BLOB column

      Preview a spreadsheet can be more difficult, unless you want to see as data.

      The excel2collection plugin is great to do, resulting in an apex_collection .xls spreadsheets.

      demo based here

      https://Apex.Oracle.com/pls/Apex/f?p=52007:6:no:

      Otherwise, you can simply open the document of the BLOB in a new tab and depending on the browser, it can view online or download.

    • Apex and accept Ref Cursor?

      Apex and accept Ref Cursor?

      Apex and accept objects?

      can someone help me please.

      Hi Nani4850,

      Nani4850 wrote:

      Apex and accept Ref Cursor?

      Apex and accept objects?

      The language of business for APEX is PL/SQL, so yes you can use REF CURSOR and pass objects to you packaged functions/procedures.

      How does this relate to Oracle APEX?

      Please explain what you plan to use a REF CURSOR in the APEX.

      Kind regards

      Kiran

    • APEX and considerations of CAE

      Hey you all APEX gurus.

      I have a few questions about the implementation of MEV for developers and users of the APEX.

      For end-users APEX, it seems simple enough to apply policies MEV using the "PL/SQL initialization" in the properties of the Application of the APEX. Help for this explicit definition mentions VPD, so no problem (theoretically).

      But what do you do to restrict access to the data for APEX developers in SQL Studio using a policy of the CAE?

      What database user session using APEX developer to connect to the database - is the APEX_PUBLIC_USER or the schema assigned to the workspace?

      Tracking the question just for my understanding is: what user database session (s) of the user of the APEX app connects to the database - is the APEX_PUBLIC_USER or the scheme of the analysis of the application?

      Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

      APEX application Express 5.0.1.00.06

      See you soon,.

      Michael

      Michael Everding wrote:

      If we have a bunch of tables with say ORG_ID column and we want to limit developers to the lines of their own ORG_ID. is it a post login process that can be executed after someone connects to a workspace APEX (as a developer) to apply a VPD policy according to their user name? It seems that, as you say, you can determine access based on the user database, because everyone connects as APEX_PUBLIC_USER or ANONYMOUS. I hope that makes sense.

      It doesn't seem to be any workspace - or equivalent SQL Workshop at the level of the property of initialization Code of PL/SQL application. Re: Apex and the CAE is an old post of team Oracle APEX, but AFAIK nothing has changed since then.

      However, because SQL Workshop is in itself an APEX application, APP_USER is set to the username of the developer, as you want the username of the application when running your applications. See the results of executing the following query in SQL commands:

      select user, v('app_user'), sys_context('userenv', 'current_schema') from dual
      
      USER V('APP_USER') SYS_CONTEXT('USERENV','CURRENT_SCHEMA')
      APEX_PUBLIC_USER FAC586 NANDBTAG

      It does not set a value of context, but it provides a user identifier that could be used in a VPD policy.

    • ICX/Session Cookie - integration of APEX and Oracle EBS

      Hello

      I'm moving a FND username or id of session ICX APEX of Oracle e-Business to load the information of the employee. The Oracle while paper and the document of the stem of the West, he says that we can use the following functions.

      wfa_sec. GetSession (< username outparameter >);

      icx_sec.GetSessionCookie;

      Both of these functions return-1 or going into exception. I have confirmed with our DBAs that the APEX and e-business are installed on the same domain. APEX has access to the schema of APPS but its connected to one of our schema custom.

      No idea why it does not work?

      In addition, how can I pass the username to fnd the URL using methods (JSP Interoperable with OA) GWY.jsp? targetAppType = APEX & p101:1 or LaunchApex.jsp (depending on jsp SSWA)? Examples? And how can we apply a checksum to the URL, because it originates in Oracle e-Business.

      Your help is very appreciated.

      Hoang.

      We finally got this working. The problem was with load balancing. He was using a https protocol while ApEx has been using http. We changed the balance of the load to a http protocol, the functions return the correct values.

      Hoang.

    • No content is loaded when you try to use Apex and ADR

      Hello

      I try to use Apex 4.2 on a database of 11g XE on a Windows 7 machine and I am running on a question.

      I did the installation and the tasks according to the instructions and had no problem with this.

      I want to use ADR as a standalone option, so I just did the following:

      java -jar ords.war
      

      And went through the configuration options and seized what was needed. I put static resources such as D:\apex\images\ (where is my install apex) and set the port as 8080 I then ran in stand-alone mode, once again just by placing the same order as above and stated that:

      INFO: http://localhost: 8080/ADR / began to.

      Now when I try to connect to this I get a blank page so I thought to go and look at the html source code as I thought it would be that it does not find the static resources, but seen in firebug html code is:

      <html>
      <head>
      <link title="Wrap Long Lines" href="resource://gre-resources/plaintext.css" type="text/css" rel="alternate stylesheet">
      </head>
      <body>
      <pre></pre>
      </body>
      </html>     
      

      I made a mistake in the configuration as its unable to serve the content of the page in the database or I did something else wrong? Windows authorization would have something to do with it or will I be stupid?

      See you soon,.

      Paul.

      Hello

      I realized that it was. It relates to the problems here: Apex 4.2.2 via Apex earpiece 2 - white screen returns

      I don't know why I never saw this in the search. When I called full URL like: http://localhost: 8080/ADR/f? p = 4550:1:0: the apex login screen comes to us as expected.

      Kind regards

      Paul.

    • The Jquery and Jquery mobile supported by DPS?

      Hello

      The Jquery and Jquery mobile supported by DPS? I'm building a html file to include it in a dps file, which is a small calculator (adding variables containing values of form entries). The calculation is triggered by pressing a button calculate, but apparently it does not trigger the calculation, but it does on the desktop, that's why I ask about script DPS support.

      Thank you

      Make sure that your code HTML and JS are in a folder by themselves (not in the same folder as your InDesign file).

      Are your links html using the navto: / / notation (my article)?

      Check your paths to ensure that the HTML using the appropriate relative path structure. For example, if you have an html file and a folder for your javascript.

      .

      Make sure you have AutoPlay and allow a verified user interaction and delay autoplay value 0.125 in the decorative Panel.

    • Hi I am new to Oracle APEX and my desires to organize me working on it... can someone help me to begin with?

      Hi I am new to Oracle APEX and my desires to organize me working on it... can someone help me to begin with?

      Hello

      Start reading the documentation

      Oracle Application Express - Documentation

      Check the packaged applications that comes with the APEX.

      You can find a lot of info and examples of Oracle Learning Library

      http://Apex.Oracle.com/pls/Apex/f?p=44785:2:0:FORCE_QUERY:2, IRB, CIR:P2_GROUP_ID, P2_PRODUCT_ID:1000 %2 C 2039

      APEX to read related blogs

      WORLD: APEX Blogroll

      You can find many things from this forum, just use search.

      Kind regards

      Jari

    • Application server and jQuery

      The application server DPS has a web server such as apache running? I'm working on a solution to search for jQuery and jQuery must run on a server to find HTML files even if they are in the local file tree. I'm trying not to have to convert my Indesign layouts to the text of a json file. I'd rather export to HTML format.

      DPS is available you can run arbitrary HTML servers. If you want to write something in HTML/javascript/jquery for your folios, you host it yourself.

      Neil

    • Add the value of point two apex and display the result in another part of the apex

      Hello

      I need to make the addition of the two item values using apex.item.text and find the result in another apex.item.text.

      For example:
      SELECT
      apex_item. Text(1,null) ONE
      apex_item. Text(2,null) TWO
      apex_item. Text(3,null) RESULT
      FROM EMP
      please suggest me

      Thank you
      Sudhir

      >
      No it does not add the two values in the column, user key to enter the value, it must add the value of the item and displays the result in a dynamic way. Need a suggestion for using javascript
      >
      This requirement was not not clear in the op.

      See the demo of Denes Kubicek.

      This topic is discussed far too often. Have you tried to Oracle Application Express (APEX) and adapting one of the many examples of LoV cascading to your situation?

      See you soon,.

      PS: Tip:
      Look for the p_item_id and p_attributes of the APEX_ITEM API parameters.
      You can call JS functions for example using p_attribute

      APEX_ITEM.TEXT(...
      p_attributes => 'onchange="doTotal(this);"', /* doTotal being your JS Function */
      ...
      

      Published by: Dominic August 16, 2012 11:52

    • Compatibility ADF Faces and jQuery

      ADF Faces and jQuery is incompatible? In some of my pages I used jQuery to improve my drawing. Since ADF Faces has no component such as p or h1 or if I use these tags and ADF behaves unexpectedly. So by jQuery, I can wrap some components like div generated by af:panelGroupLayout. If I specify a styleClass to this pgl I can easily the warp by p as $('.cls').wrap ("< p..."). Are their any risk of error or of bad behavior to do? In one thread, I see as jQuery is not integrated into the life cycle of ADF so it can be difficult to tell whether or not it behaves by mistake. Y at - it no risk to deal with a problem of PPR?

      Hello

      In ADF Faces active JSF 2.0 use of things like JQuery would be more affordable, I would suggest that you test this last integration using Facelets and Jdeveloper 11.1.2.0. However you perception is right, using a lot of JQuery on your page in ADF faces, could potentially break some of the life cycle. There are, however, examples:
      http://codingwithpassion.blogspot.com/2011/01/using-jQuery-in-Oracle-ADF-faces.html
      http://George.maggessy.com/2010/08/ADF-and-jQuery-working-together.html

      What kind of JQuery components are you trying to use?

      -Juan Camilo

    • How to log on automatically to the apex and run a specific page / application

      Hi all.

      I would like to know if there is a way to connect automatically to the apex and run a specific page / application. I mean, invoke browser and necessary information for you connect (non-public user) and run a specific application (secure ina in if possible).

      Thanks in advance...!

      Hello

      Well, as a very crude test, you can set your authentication scheme being request Express authentication define specific users to Apex. Then, create one before the login process of header on the page of connection (101) to automatically open a session that contains:

      apex_authentication.login(
          p_username => :P101_USERNAME,
          p_password => :P101_PASSWORD );
      :P101_PASSWORD := NULL;
      

      conditional on P101_PASSWORD is not null.

      Then you can login using your username and password in the URL, for example

      f? p = YOURAPP:LOGIN:P101_USERNAME, P101_PASSWORD:username, password

      Rod West

    • Apex and Audit Vault - anonymous user instead of use the Apex

      Hello
      We have Apex 3.2 & Audit Vault 10.2.3.
      Audit Vault stores the name of the database user when a table is updated through SQL * Plus etc as expected.
      Problem is by Apex and insert into the db table using simple form on the table of the ANONYMOUS user is registered.
      We have real end-user connected upon Express request.

      Is anyway to configure the Audit Vault or Apex to use/pass v('APP_USER')? Must something be done by their Summit to set up a session?

      Running below shows 2 ANONYMOUS users and no end-user APEX_PUBLIC_USER or Apex.
      Select the user name, count (*)
      session $ v
      Group user name;

      All tips & guidance would be great - thanks in advance

      Hello:

      Since Vault Audit relies on the native database auditing it can only collect information that is recorded by the 'source' database in its audit trail. APEX fills the field of connection with the APP_USER CLIENT_INFO. However, CLIENT_INFO is not recorded in the audit log. Instead, the CLIENT_IDENTIFIER is captured. APEX records a composite value in this area. The value is in the format "APP_USER:SESSION_ID". This value must be recorded in the audit log and therefore sent to Audit Vault. Audit Vault reports should be able to display this field, and you can filter on it to get the information you need.

    Maybe you are looking for