Re: Passage of the value of the Java script
HelloI would like to change the value in the text field of the java script P1_PERIOD and show the alert with the value of the P1_PERIOD
When you press the button.
The following code, I wrote in the button display attribute - attributes
onclick = "JavaScript:ShowAlert (P1_PERIOD); »
Java script:
---------------
< script type = "text/javascript" >
function ShowAlert (p_val)
{
Alert ('You have indexed' + p_val);
}
< /script >
He's back char invalid error. Where am I wrong?
Thanks in advance.
Dip
The correct call would be:
onclick="javascript:ShowAlert($x('P1_PERIOD').value);"
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
-------------------------------------------------------------------
Tags: Database
Similar Questions
-
Hello. I find a strange behavior of Firefox v21. If the 'windows' path used *.htm file slashes to the java scripts (on Unix, hosting with apache). Firefox says 404, but other browsers (such as Opera, Chrome, IE10) works properly with this.
You should use slashes in links so that they work properly in Firefox, otherwise Firefox will escape them that 5% C as you can see if you would them hover in the case of a real link (this is obviously not possible in this case).
-
I finished building the Web site for my girlfriend, and the rest is the RSS feed. It works just fine in IE 8, but Fire Fox 9 when the widget is clicked a bookmark box appears and asks if I want to save it as a bookmark. I'm not a programmer of the Java script so I hope help here! Here's the script:
- "< a href ="http://www.susangabrielle.com/1/feed"title ="RSS"alt ="rss">< /a >"
- for example http://www.susangabrielle.com/1/post/2012/01/post-title-click-and-type-to-edit.html
even if I get a message about missing plugins -
How can I activate the java script
original title: Java script
How can I activate the java script
Internet Explorer 8:
- Open Internet Explorer, click on the "Tool" button in the menu bar, click 'Internet Options' and then select the security"" tab.
- Select the 'Internet' zone, select "Custom level" and go to the "Security settings - Internet Zone" box.
- Click the checkbox enable "Active Scripting" under the Scripting section, and then click the OK button to apply the settings. Restart your browser when you have finished to apply the settings and enable JavaScript.
Firefox:
http://support.Mozilla.com/en-us/KB/JavaScript
Chrome (for the old version, but could be similar):
Questions about installing Windows 7?
FAQ - Frequently Asked Questions from Installation Windows 7 & responses -
How to take a SQL query result in the source section of an APEX "agenda of the page" field and allow this request to be formatted using XML in an HTML format for a Java Script file to perform a function on the result?
Currently I have the following text:
To query the DB table and format the result as HTML:
SELECT XMLELEMENT ("UL id ="ticker01"', XMLAGG (XMLFOREST (Scroll_Mess AS LI))") "item UL' OF Web_Ticker where Mess_Id < 10 order by Mess_Id;
That displays the following:
< UL id = "ticker01" > < LI > HELLO < /LI > < LI > HELLO < /LI > < /UL id = "ticker01" >
I need the output of this to be visible to a JScript function that is currently called the "head of page", but there doesn't seem to be its scope? The function works correctly if there is a list in the page field items 'Text element Pre' but does not work correctly when used in conjunction with the query to generate a table form.
If everyone is happy to help I would be grateful .
James.
Solved!
In order for the request to be part of the DOM of the page of the APEX, the Java Script allows to perform its function on the result marked "HTML" to query, you must set page of the apex on which the query resides and then add the inner text of this page to a second variable for which the function of web ticker can run on as follows:
$(function() {})
var x = $("#P9_TICKER_DATA");
var y = x [0] .innerText;
x.Append (y);
$("UL#ticker01").liScroll ();
});
From there, on the Java script is able to properly see the result of the query in HTML format.
-
I have custom dialog box based on the java script code that prompts the user to enter data for a room tag. This label is then annotated on the pdf document. At the present time, the captured annotation can be deleted. I want to be show as permanent on the pdf page.
Thank you.
You must flatten the page that this annotation is one to convert static content into PDF. To do this, use the Doc.flattenPages () method:
-
How to write the Java script to reference the 1st page 2nd page text field?
If (xfa.event.newText == "ABCD)."
{VISITOR_form. Page_2.Text_FieldB_1.access = "readOnly";
}
Put the script on the Text_FieldA_2 change event
-
Where is the Java Script for this?
Hello
For the ToolTip and dynamic resizung, Niall suggested me the link below
https://Acrobat.com/#d=jD3k1sL7PGcTo6CHHTiEOA
but, I didn't see its associated code, please let me know how can figure out its Java Script attached so that I'm going to use it as a snippet of code for my own development
With respect to the TOOL TIP: Please note thatmy drop-down entries/values are DYNAMIC, my_form is unclear until the moment of execution, I mean, I'm without specifying the values/entries to the level of my_form, am from end/data retrospective source/SAP software
Thank you
I should note that in the syntax of the case you must bind values for options, then use the box '1', '2' box, box "3". etc.
-
I use the American family site every day, and today when I went to play the games that I play every day instead of the game coming to the top, a notice that says I have to install flash and activate java script in order to see these games.
You do not have the Shockwave Flash 11.0 r1 plugin so Flash should work.
You can test here:That leaves option that you've blocked JavaScript.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.com/kb/safe+mode
-
When I install Mcafee, the error come out, can not install... Make sure you only if your PC has JAVA script. error code: 0x80004005, HOW t ofix it?
Which version of Java should I download for my system to Windows 64-bit operating?
http://www.Java.com/en/download/FAQ/java_win64bit.XMLInstallation of Java
http://Java.com/en/download/help/index_installing.XML?user_os=Windows%207If you are using:
* 32 - bit Internet Explore (IE), you need to download Java 32 bits (check the browser)
* 64 - bit IE, you need to download Java 64 bit (check the browser)
* 32-bit and 64-bit, IE you have to download 32-bit and 64-bit Java respectively64-bit operating system Windows comes with browsers Internet Explorer (IE) 32-bit and 64-bit. 32-bit IE comes by default. There are different versions of Java software available for download depending on whether you are using THE 32-bit or 64-bit browsers.
Please note that the 64-bit Java is presented as a download option automatically for users of Internet Explorer 64-bit, as this is the only officially available for Windows 64-bit browser.
Note: Java is updated on a frequent basis, you can expect to see a Java update notification in the bar from time to time.
J W Stuart: http://www.pagestart.com
-
Create the Java script function
Hello
I try to create the following java script function to retrieve a character string:
String.prototype.left = function (findWhat)
{
try
{
var = this.search (findWhat) position;
If (position > - 1).
Return this.substr (0, position);
}
catch (e)
{
/ / alert (e.message);
}
return "";
};
var text = "myText-description";
var separator = "-";
In this example, I try to extract the word on the left before the "-" delimiter (mtText)
But I get the following error message: failed to add a property to an object sealed: left
My question is how can I create a simple js function in the Orchestrator in the following example
Thank you
Hello
You can try the code to retrieve a string from left to right below the delimiter.
searchstr(); function searchstr() { try{ var str = "angela.soni" var pos = str.indexOf("."); // Currently this is hard coded, you can pass delimiter as an input parameter. if(pos>-1) { var substr = str.substring( 0, pos ); System.log(substr); } else { System.error("Delimiter not found"); } } catch (e) { System.error("Search failed: " + e); } }
I hope this would help you.
Thank you!
Angela
-
Show value NAN after Java Script how to remove that
Hello
I created a form with Page report. When I click on the ICON to change and go to the Page change, on this page, I use a Java Script
< script >
function servicetaxItems() {}
function getVal (item) {}
If ($x (point) .value! = "")
Return parseFloat ($x (item) .value);
on the other
return 0;
}
$x('P37_SERVICE_TAX_AMT').value =.
(getVal ('P37_SERVICE_TAX') * getVal('P37_LAB_AMT')/100);
}
< /script >
I put this on the attributes of the HTML Form onBlur = "javascript:servicetaxItems()"
Now the problem is when I go to P37_LAB_AMT and my cursor come in P37_SERVICE_TAX_AMT point then it shows NAN.
I don't know why, it's show NAN...
I want the calculated value in the P37_SERVICE_TAX_AMT
How can I remove this error...
Thank youHello
Try
-
Passage of the maxl script batch file value.
Hi gurus,
I want the user to select the scenario he wants to clear the data for a specific intersection in a cube of ASO for running batch file. Files and newspapers is as below
Batch file:
ECHO please select a scenario:
ECHO A. actuals
B. Budget echo
choice/m C:AB '-> > enter a letter for the scenario you want to delete: "%1 '"
IF ERRORLEVEL is 1 Set ScenarioName = law
IF ERRORLEVEL == 2 Set ScenarioName = bud
E:\Oracle\Middleware\user_projects\epmsystem3\EssbaseServer\essbaseserver1\bin\startMaxl.bat "C:\Users\TCleardata2.mxl" % ScenarioName %
MaxL file:
spool to 'C:\Users\Cleardatalog.txt ';
/ * Value Variables * /.
Set vScenarioName = $1;
Echo script: "$vScenarioName";
connection username pwd on "IP:1423 Server";
/ * Erase data * /.
ALTER database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;
echo * clear full *;
disconnection;
spool off;
Log file:
Scenario: law
MAXL > connection username pwd on "IP:1423 Server";
OK/INFO - 1051034 - user [username@pqr] connection.
OK/INFO - 1241001 - connected to Essbase.
*****************************************************************************
MAXL > alter database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;
ERROR - 1260052 - syntax error in a MDX query on line 1 to token entry ' "$1".
*****************************************************************************
Full Claire *.
MAXL > disconnect;
Username is disconnected
___________________________________________________________________________________-
in the MAXL if I write: law instead of ' $1 ' it works fine, but I can't take the user input, it is question of syntax?
Below the command works fine:
ALTER database abc.abc clear data in the region '{(law, Final, FY15, P2, ACC_1011640)}' physical;Can someone please let me know what I'm doing wrong here?
Thank you
RN
I don't think that (alone) allows in this case - the problem is that the single quotes around the specification of the whole region removes extension variable (see Variables).
Double quotes lose about $1, but also replace the single quotes around the specification of the entire region with quotes, i.e.:
ALTER database abc.abc clear data in the region '{($1, Final, FY15, ACC_1011640, P2)}' physical;
-
Error [invalid attribute of the Java Script Application XML value]
I get the above error message.
I have been using the App right because it allows me to search and raise money for a non-profit of my choice. Why the error message appears all of a sudden? I have been using the right App for about 2 years and it's the first error message. Should I disable the right App and reinstall? How do I do that?
-
How to highlight the line end Word hyphen in the java script
Dear Tpk & friends,
I need to highlight all the end of line (continues 3 hyphen hyphen 2 only and Word), hyphen, Word in the Indesign (Cs6) application. I have attached the screenshot to your references.
Thank you
Knockaert
Hello..
The scripts may be useful for you below...
Peter Kahrel - Free script | Checking of hyphenation
http://www.kahrel.plus.com/InDesign/hyphens_collect.html
Peter Kahrel - Free script | Change the cut words and update the lists of exceptions
The view is http://www.susangabrielle.com
Probably you fixed, the RSS seems to work for me
Maybe you are looking for
-
Why Mozilla Firefox can't find the last downloaded URL page
Can someone please solve this mystery: I edited a number of my web pages today and then download the whole site using FileZilla. To access my web pages from a browser Internet Explorer and Google Chrome, I see the latest version of all pages. To acce
-
Satellite A60-124: using the IrDA port to transfer the data to the mobile phone
Hi, I want to Exchange data between a phone mobile SonyEricsson and my laptop A60 - 124 via an IrDA port. I activated the infrared sensor in the phone but the laptop does not detect anything. The device setting menu shows my port Irda ok and seems to
-
Email for my live account xbox has been deleted, how can I change it?
Dear community, My Yahoo email account, which I use for xbox live, has been deleted because of inactivity on the yahoo site. For this reason, I can't sign on the xbox live account when I try to change the e-mail address. Help, please!
-
Windows server 2008 standard r2 build 7601 this copy of windows is not genuine
I ran windows update to my server and all of a sudden after rebooting I get the following message; "windows server 2008 standard r2 build 7601 this copy of windows is not genuine". Windows has activated before, so I am quite confused and now I don't
-
Create a Playlist on a Sansa Clip
I have a Sansa Clip. I created a playlist on Windows Media. When I did a sync more steeply to appear not all the songs, but there is nothing in the section Playlis. How can I create a Playlist named on the clip?