On change Java script

HI,
i have try to do this but i can't.
i have jus created an demo application for this point.Please resolve it in my demo applicatiuon.
Workspace: APEXUSER
User: [email protected]
Password :hugeni
Applicayion No :-49448
Page No :- 3
I need here if i enter 10 into P3_ITEM_A =10 Then enter value into
P3_ITEM_B =2, Then onChange P3_ITEM_F =2
P3_ITEM_C =1, Then onChange P3_ITEM_F =3
P3_ITEM_D = 2, Then onChange P3_ITEM_F =5
P3_ITEM_E = 3 Then onChange P3_ITEM_F =3
if i enter some value into P3_ITEM_B then value change automaticaly into P3_ITEM_F and when i enter value into P3_ITEM_C then add thes value with previous value of P3_ITEM_F till P3_ITEM_E .
I need in last, an pop up alert if value of P3_ITEM_A is not equal to P3_ITEM_F .
Alert Massage sholuld be Please insert number.
How can i do both thing (1) Onchange Event Value in to P3_ITEM_F (2) An Alert if Value of P3_ITEM_A !=P3_ITEM_F.
How can i do this.
Thanks
Edited by: 805629 on Mar 10, 2011 3:03 AM

Hello Hugeni (?),
I created a Dynamic Action, when the P3_ITEM_A change and his value = 10 then set the value on P3_ITEM_B, you can use this on the other fields according to your needs.
I think the correct way to display the message(alert) is submitting the page and then make a validation to check if the value is equal or not.
Regards,
Alan.

Similar Messages

  • When I change pages I get a box 'java script uninstal set' how do I get rid of this?

    every time I change pages I get several error boxes saying java script application, uninstal set (misspelled) . I cannot continue til I close all the boxes. It also has a yellow triangle with an exclamation point

    click on the pair of eyeglasses

  • Can we change the setting of Internet Explorer by Java Script?

    Can we change the setting of Internet Explorer by java script?.
    For e.g: I need to make the "Initialize and script control not marked as safe" as enabled by using java script code.
    Please suggest me is it possible?
    Thanks,
    Manisha

    Thanks everybody.
    My requirement is to push data of a grid to Excel by clicking a button. I have written code in javascript. But if the option in Internet Explorer "Initialize and script controls not marked as safe" is disabled , i am not able to push data to Excel.
    It is possible only this option is enabled.
    So tried to push data by write code: document.appletname.saveAsCSVFile();
    But i am not getting data in Excel in correct format.
    It is coming as : first row: Column name1, " column name 2",...
                             2nd row: value1, "value2",.....
    Any ideas on this?
    Thanks,
    manisha

  • Error in Dynamic Value Change Using Java script

    Hi ,
    I am trying to put dynamic value sin tabular form report.
    I used the below code
    function updateLOV3(filter, listName,itemId,po_no){
    var xml = null;
    var list = document.getElementById(listName);
      var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=Update_Invoice_UOM',0);
    alert(po_no);
    alert(itemId);
    get.add('TEMPORARY_ITEM', po_no);
    get.add('TEMP_ITEM', itemId);
    alert(list);
    ret = get.get('XML');
    if(ret){
      var s = ret.getElementsByTagName("select");
      if(s){
       var o = ret.getElementsByTagName("option");
       oCount = o.length;
       if(oCount!='0'){
            var l_Opt_Xml = o[0];
            appendToSelect(list, l_Opt_Xml.firstChild.nodeValue);
    if(oCount=='0'){
    alert('entering');
       list.value=0;
    get = null;
    function appendToSelect(pSelect,pContent) {
    alert(pContent);
    pSelect.value=pContent;
    }my Application Process code is
    declare
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<data>');
    htp.prn('<select>');
    for rec in (SELECT UNIT_OF_MEASURE r ,UNIT_OF_MEASURE d FROM HOMES_RGP_PURCHASE_ORDER_LINES WHERE ITEM_ID = :TEMP_ITEM AND
    PURCHASE_ORDER_ID = :TEMPORARY_ITEM)
    loop
    htp.prn('<option value="' || rec.d || '">' || rec.r || '</option>');
    end loop;
    htp.prn('</select>');
    htp.prn('</data>');
    end;In my application process if i removed the PURCHASE_ORDER_ID = :TEMPORARY_ITEM then the value is coming.
    Java Script giving both values like item id and purchase order id.
    If i ran the sql query manually its giving values.
    i hope thers is some error in get.add method in java script.
    Its always going into the below condition
    if(oCount=='0'){
    alert('entering');
       list.value=0;
    get = null;but manually i have checked the database the value is present.
    Please anyone help me out in this.
    Regards,
    Shan...

    Hi all,
    The same i have checked with emp table but still i got the same problem.
    Its my application process
    declare
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<data>');
    htp.prn('<select>');
    for rec in (SELECT ename r,ename d FROM 
    emp
    WHERE  empno = :TEMP_ITEM)
    loop
    htp.prn('<option value="' || rec.d || '">' || rec.r || '</option>');
    end loop;
    htp.prn('</select>');
    htp.prn('</data>');
    end;My Javascript code is
    <script type="text/javascript">
    function setvalues(itemId,list)
    var s = $v(itemId);
    alert(s);
    var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=POPULATE_EMPNAME',0);
    get.add('TEMP_ITEM', s);
    ret = get.get('XML');
    if(ret){
      var s = ret.getElementsByTagName("select");
      if(s){
       var o = ret.getElementsByTagName("option");
       oCount = o.length;
       if(oCount!='0'){
            var l_Opt_Xml = o[0];
            appendToSelect(list, l_Opt_Xml.firstChild.nodeValue);
    if(oCount=='0'){
       list.value=0;
    get = null;
    function appendToSelect(pSelect,pContent) {
    pSelect.value=pContent;
    </script>Can anyone suggest me what i have missed???
    Cheers,
    Shan

  • I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed

    I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed edit
    Details

    You are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
    Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
    If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
    Once you are using the "Firefox" button ...
    Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
    To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
    You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • Dreamweaver 8: Java script in Design Mode

    Mac OS 10.4.11 Dreamweaver 8
    I have a web page with a java script that displays a random picture from a list of images each time you reload the page.
    http://www.irises.org
    It renders fine when viewed in a browser, but the image does not display when viewed in Dreamweaver Design mode. The random image does not display and lacking the image other things are out of place.
    The script that sets up the image array:
    <!-- Begin
    // Set up the image files to be used.
    var theImages = new Array() // do not change this
    // To add more image files, continue with the
    // pattern below, adding to the array.
    theImages[0] = 'images/home-rotate-1.jpg'
    theImages[1] = 'images/home-rotate-2.jpg'
    theImages[2] = 'images/home-rotate-3.jpg'
    theImages[3] = 'images/home-rotate-4.jpg'
    theImages[4] = 'images/home-rotate-5.jpg'
    theImages[5] = 'images/home-rotate-6.jpg'
    theImages[6] = 'images/home-rotate-7.jpg'
    theImages[7] = 'images/home-rotate-8.jpg'
    theImages[8] = 'images/home-rotate-9.jpg'
    theImages[9] = 'images/home-rotate-10.jpg'
    theImages[10] = 'images/home-rotate-11.jpg'
    theImages[11] = 'images/home-rotate-12.jpg'
    theImages[12] = 'images/home-rotate-13.jpg'
    theImages[13] = 'images/home-rotate-14.jpg'
    theImages[14] = 'images/home-rotate-15.jpg'
    theImages[15] = 'images/home-rotate-16.jpg'
    theImages[16] = 'images/home-rotate-17.jpg'
    // do not edit anything below this line
    var j = 0
    var p = theImages.length;
    var preBuffer = new Array()
    for (i = 0; i < p; i++){
       preBuffer[i] = new Image()
       preBuffer[i].src = theImages[i]
    var whichImage = Math.round(Math.random()*(p-1));
    function showImage(){
    document.write('<img src="'+theImages[whichImage]+'">');
    //  End -->
    The code (further down the page after the all the list elements) that generates the image:
               <SCRIPT LANGUAGE="JavaScript">
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    showImage();
    //  End -->
    </script>
    Is there a way to get it to display correctly in the Design mode?
    Thanks
    <br />
    </script>

    Is there a way to get it to display correctly in the Design mode?
    I don't think so, at least not with this script.  What you need is for an image to be displayed on the page by default, and for the javascript to only change the src attribute's value.  Something like this -
    At the point where you want the image have -
    <img src="the_path_to_some_default_image.jpg" id="rotation" />
    and in the javascript, change this -
    document.write('<img src="'+theImages[whichImage]+'">');
    to this -
    document.getElementById('rotation').src='theImages[whichImage]';
    See if that works....

  • How do I use a Java script in place of a standard link?

    Hi! I'm very new to html and totally unfamiliar with Java. Basically my html has a link like this: Mr Nobody and I didn't like how easy it was for spammers to harvest that email address from my website. I looked at this site http://www.bronze-age.com/nospam/ which allowed me to download a javascript .js file and some instructions on how to recode my email link so that it's hidden.
    I've loaded the java procedure in the head of the html just like the website says. He says that every link must be converted to a script call; so what previously was Mr Nobody changes to <script>mail2("nobody","fake.address9z",0,"","Mr Nobody")</script>. What does this mean? I replaced the stuff from the inside of the quotes in the href and weird stuff happens. What do I actually replace or how do I call up this script?
    I basically have created an image mapped link that I want to call this javascript when clicked.
    thanks for any help!! :)

    cotton.m wrote:
    BigDaddyLoveHandles wrote:
    cotton.m wrote:
    BigDaddyLoveHandles wrote:
    cotton.m wrote:
    BigDaddyLoveHandles wrote:
    nclow wrote:
    BigDaddyLoveHandles wrote:
    nclow wrote:
    Beats me. Read the documentation. Or ask on a javascript forum, but they'll probably tell you the same thing.Yeah, they're all a bunch of ASCII porn lovers.Really, who isn't?!Even the sounds of an impact printer pounding out a solid page of characters gives me a thickie.Well actually... unless you're in the habit of using mustard during foreplay, and really who can tell, then I think that's actually one of them cd-rom hotdogs that you dropped in your lap.Is it too late to mention what a cultured and sophisticated person I am?If by cultured you are referring to bacterial growth between your toes then yes I think we covered this.It's just that I'm still holding out for that sponge bath from Fiest.Well if she ever gets off Bravo I'll send her your way.
    But not on the train. Yikes!Sigh... It's just that I've got that big guy's weakness for bony women...

  • Problem with Java Script after upgrade from BW 3.5 to BI7

    Dear Colleagues,
    We're facing the issue with Java Script after upgrade of BW 3.5 to BI7.
    Just after update we checked the basic functionality and it occured that some of web templates that use Java Script don't work. They generate seelction screen, but after selection the screen becomes blank without any error messages.
    We're currently stucked since web templates weren't converted to BI7 version so they should work exactly as before the upgrade.
    We compared the Java code with other environment that was not upgraded - it's perfectly the same.
    The only explanation that comes to my mind is that some Java Script settings on the server level were changed during the upgrade but I have no idea where I can check that.
    Thanks in advance for any suggestions,
    Andrzej Bobula

    Hi Deepu,
    Thanks, it was great to read your reply and then few minutes later talk to you live on SDN Day!
    Unfortunately, http cache clean-up did not help. But there is another funny thing I found - for exactly the same 3.5 webtemplate html code returned from WebAS 3.5 was different then from 7.0.
    Unfortunately, this editor does not allow to paste complete code, even in CODE brackets, but here are main differences:
    <b>3.5</b>
       if (navigator.appName == "Microsoft Internet Explorer")
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=1&CMD=GET_TEMPLATE"
    name="Content">
    and
    <b>7.0</b>
       if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1)
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=8&REQUEST_NO=0&CMD=GET_TEMPLATE"
    name="Content" 0nLoad="javascript:loadTitle()">
    (I intentionaly put 0 i/o o in 0nLoad, otherwise Forum's editor does not accept the text.
    How about SAP's claim that technical upgrade from 3.x to 7.0 changes nothing?
    Regards,
    Vitaliy

  • How to resolve Java Script Error Message when visiting Twitter Website?

    When using firefox the following error message appears on the Twitter website regarding Java Script that is already enabled in firefox. It only happens in firefox when I visit the Twitter Website, it doesn't happen on any other website and it does not happen in Internet Explorer when I visit Twitter's website.
    '''Error Message:
    Twitter.com makes heavy use of JavaScript.
    If you cannot enable it in your browser's preferences, you may have a better experience on our mobile site.'''

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Clear Firefox's Cache
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    2. If needed, delete your twitter.com cookies here
    While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help? If you restart Firefox does it help? If not, please see the next section.
    If you have JavaScript enabled in Firefox's options ([https://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-pages#w_enabling-and-disabling-javascript support article]) then there are a few different ways that JavaScript could be blocked for twitter.com.
    One common one is the add-on NoScript, which manages scripts on a site-by-site basis. However, you probably would be well aware if you were using NoScript.
    Another is external security software that filters pages on a site-by-site basis. Can you check whether your security software includes this feature?
    A third possibility is another add-on which for some reason is targeting Twitter. Check any ad blockers, Flash blockers or other "blockers" as well as any relating to privacy.
    Finally, there could be other settings, software, or even malware interfering with your Twitter connection.
    One standard diagnostic for interference by add-ons is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If the site works correctly, this points to one of your add-ons or custom settings as the problem.
    Any change?

  • When I click on firefox I get a java script error that says "TypeError: Components.classes[TvtPwmComponent_CID] is undefined", what does that mean?

    Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How to get the value retruned by java script function into my jsp page

    Hai all,
    I had a particular java script function which returns a date.
    function getDate() {
         var sDate;
    // This code executes when the user clicks on a day in the calendar.
    if ("TD" == event.srcElement.tagName)
    // Test whether day is valid.
    if ("" != event.srcElement.innerText)
    //alert(event.srcElement.innerText);
    sDate = document.all.year.value + "-" + document.all.month.value + "-" + event.srcElement.innerText;
    document.all.ret.value = sDate;
    var mahi=window.open("configurexml.jsp?xyz=document.all.ret.value")
    return sDate;}
    Now i want to display this particular date in my jsp page. can anyone tell me the correct approach or a sample code to diaplay this date in my jsp page.
    <%@ page language="java"
    import="javax.xml.parsers.*,java.io.*,org.w3c.dom.*"%><%@ page import="java.util.*" %>
    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html> <head> <title>Configuring Xml File</title>
    <SCRIPT LANGUAGE="JavaScript" SRC="xyz.js"> </SCRIPT>
    body bgcolor="#d0d0d0" onClick= "return getDate()" >
    <form name="f1">
    <b>20 october 2006 </b>
    Here where i am printing the date i had to get the value from the js function. how to do that. plz help me....

    Are you talking about server-side java code (servlets/jsp) or client side (applet)? Given we are in the JSP forum I'll assume we're talking server side.
    If so, you are making a common but fundamental mistake. JavaScript executes on the client, not on the server. If you want client data on the server it has to get there somehow. The simplest way to do this in JSP land is via HTTP. So... have your JavaScript code call a JSP (or servlet) and pass the value you want as a URL parameter. Of course this will also change the browser location, so if you don't want this to happen use a frame or iframe to capture your HTTP request.
    For example:
    Javascript....
    function someFunction() {
    return 1;
    var value = someFunction();
    location.href="somejsp.jsp?value=" + value;

  • How can I link to pages in a 2 level popup index/selection tree with java script?

    I can do a single level popup index using the java script below (#1) and link the selections to pages but to change to a  2 level popup index selection tree as below (#2) I can't seem to figure out how to link to pages. Any help greatly appreciated. Thanks
    1
    var itemIndex = app.popUpMenu("INTRODUCTION", "ALPHABET", "GRAMMAR", "NUMBERS", "DATES & TIME", "GETTING TO KNOW PEOPLE", "PHRASES FOR LEARNING", "DIRECTIONS & TRANSPORTATION", "DESCRIBING THE TRAIL", "DO'S & DON'TS", "EQUIPMENT", "FOOD", "INTRODUCING A VILLAGE", "CULTURE AND ETHNIC GROUPS", "HANDICRAFTS", "TEMPLES & MONKS", "AGRICULTURE", "ANIMAL HUSBANDRY", "SCHOOL & EDUCATION", "LEADING A TREK", "NATIONAL PROTECTED AREAS", "IDENTIFYING WILDLIFE", "PLANTS & FORESTS", "BOATS", "CAVES", "HEALTH AND SAFETY")
    switch (itemIndex) {
    case "INTRODUCTION":
    this.pageNum = 1
    break
    case "ALPHABET":
    this.pageNum = 2
    break
    case "GRAMMAR":
    this.pageNum = 5
    break
    case "NUMBERS":
    this.pageNum = 30
    break
    case "DATES & TIME":
    this.pageNum = 35
    break
    case "GETTING TO KNOW PEOPLE":
    this.pageNum = 42
    break
    case "PHRASES FOR LEARNING":
    this.pageNum = 56
    break
    case "DIRECTIONS & TRANSPORTATION":
    this.pageNum = 59
    break
    case "DESCRIBING THE TRAIL":
    this.pageNum = 63
    break
    case "DO'S & DON'TS":
    this.pageNum = 68
    break
    case "EQUIPMENT":
    this.pageNum = 74
    break
    case "FOOD":
    this.pageNum = 83
    break
    case "INTRODUCING A VILLAGE":
    this.pageNum = 96
    break
    case "CULTURE AND ETHNIC GROUPS":
    this.pageNum = 105
    break
    case "HANDICRAFTS":
    this.pageNum = 120
    break
    case "TEMPLES & MONKS":
    this.pageNum = 126
    break
    case "AGRICULTURE":
    this.pageNum = 131
    break
    case "ANIMAL HUSBANDRY":
    this.pageNum = 140
    break
    case "SCHOOL & EDUCATION":
    this.pageNum = 145
    break
    case "LEADING A TREK":
    this.pageNum = 151
    break
    case "NATIONAL PROTECTED AREAS":
    this.pageNum = 155
    break
    case "IDENTIFYING WILDLIFE":
    this.pageNum = 161
    break
    case "PLANTS & FORESTS":
    this.pageNum = 169
    break
    case "BOATS":
    this.pageNum = 175
    break
    case "CAVES":
    this.pageNum = 178
    break
    case "HEALTH AND SAFETY":
    this.pageNum = 182
    break
    2
    var aINTRODUCTION = ["INTRODUCTION", "How to Use This Book", "Format"];
    var aALPHABET = ["ALPHABET", "Vowel Sounds", "Consonant Sounds"];
    var itemIndex = app.popUpMenu(aINTRODUCTION, aALPHABET);
    Thanks.

    Thanks. I've got it now. I was mistakenly renaming itemIndex to each section...Introduction, Alphabet

  • How to create a class using java script..

    Hi all,
    Iam new to java script and I tried out the following program but its not working..I basically created a class just like a java prog' but Iam not getting any output or error.Iam attaching the code below.
    If I created one function inside the script and create one object its working fine but what should I do when I have a lot of function??so I created a class and put all the function and created an object but its not working..
    Do let me know what changes should I do..Iam attaching the code which I had written. or give me an example of how to create a class with couple of functions using JAVASCRIPT
    Thanks
    Avis_su
    <html>
    <head><title>JSP Page</title></head>
    <body>
    <SCRIPT language = "JavaScript">
    <!--
    //Created classes
    class book
    var title: String;
    var author:String;
    function author()
    doucument.write("Author is " +this.author);
    function tile()
    doucument.write("Title is " +this.title);
    function printall()
    var counter = 0;
    function author();
    function title();
    var chapters = Array[String];
    for(chapter in this chapters)
    counter++;
    document.write("Chapter" counter" :"+this.chapters[chapter]+"<br>");
    var thisbook = new book()
    thisbook.author = "Sivagami";
    thisbook.title = "MS in CS giude";
    thisbook.chapters = new Array[10];
    thisbook[0] = "Prepare to Excell in all ";
    thisbook[1] = "Learn to be happy";
    thisbook[2] = "Learn to be healthy mentally emotionally physically";
    thisbook[3] = "Siva and Subbu along with kidssssss will be successful in future";
    thisbook.printall();
    //-->
    </script>
    </body>
    </html>

    Run this program to get your answer:
    public class AnswerToYourPost {
    public static void main(String args[]) {
    System.out.println("TRUE/FALSE: This question
    ion belongs on a Java forum.\n"
    + "ANSWER: " + ("Javascript" == "Java"));
    }Since when do we compare objects for equality using operator == ?

  • Page failure when attempting to save java script in html header

    Currently there is java script code for a function that is seeded in the html header of a forms page by apex when the form is generated. This code is for the chicken test for the DELETE button.
    The function works as designed, but if I try to "APPLY CHANGES" to the the page definition I get the The page cannot be displayed "Cannot find server or DNS Error". "the url is http://nldg-3.appl.devjones.com:7777/pls/apex/wwv_flow.accept" If I remove the script coding from the HTML header the page will save just fine, but of course no more java script.
    I need to add a java script function to the page and I am unable to do so at this time because of this issue. I can reproduce this error on any of the sample apps that I have loaded into apex.
    the Apache error log contains:
    [Fri Feb 13 06:11:06 2009] [error] [client 172.16.85.122] [ecid: 1234527066:192.168.211.127:31922:0:17188,0] mod_plsql: /pls/apex/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    The Apache access gets:
    172.16.85.122 - APEX_PUBLIC_USER [13/Feb/2009:06:23:47 -0600] "POST /pls/apex/wwv_flow.accept HTTP/1.1" 500 653
    Apex is version 3.1.2.00.02 and uses on iAS on a Linux server. The Database is 10g. The browser is IE 6.0.2900.2180.
    I have been developing for about 3 months in Apex and this is the first issue of this kind that I have run into. Any help will be greatly appreciated as I have no clue at this time.

    Luis,
    All the forms are created by Apex with a default function in the html header for a delete chicken test as follows:
    <scrpt language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    Even though the function is already a part of the page, if I try to save it, it will fail. I will look into the "black list" a little deeper. I have asked around abit as I also had suspected that, but so far all the answers were that it should not be a problem. If I take out the "SCRIPT" word I can get the page to save, but of course the code is worthless at that point.
    Keith

  • Is there any way to determine if a link is a book mark or hyperlink in java script

    Is there any way to determine if a link is a book mark or hyperlink in java script
    Sub Problem:
    I am making an array of quads of all the hyperlinks in a document. I would like to automatically skip over all the bookmarks in the starting pages of a document and just get the links of the hyperlinks.
    Now I have to manually set the pages that contain bookmarks so they are not included in the array.
    Is there any way to determine if a link is a book mark or hyperlink in java script?
    It would help automate the conversion I need below
    John
    Main Problem:
    I have been working on converting a set of pdf files with 1000’s of hyperlinks like www.site.com\folder1\file1.pdf#page=10
    To jump to a local copy of the files with a relative type link
    ../folder1/file1.pdf and then go to the proper page.
    I have found that it can be done manually by changing the hyperlink to a javascript
    var otherDoc = app.openDoc('../folder1/file1.pdf', this);otherDoc.pageNum = 10 - 1;
    and setting each destination file with a disclose()=true;
    Based on the help so far that java script cannot access the hyperlink value in a link
    See: http://forums.adobe.com/thread/1039908?tstart=60
    I have resorted to the following plan using acrobat javascript, an external keyboard macro recorder and excel in combination to get around the problem
    Four folder level acrobat javascripts with “buttons”
    One to get all the link quads in an array, in the pdf and report the total number
    The second creates a form field in the far corner of the first page and moves there.
    The third jumps to each link found by creating a form field just to the left of the link and zooms in so it can be selected by a “mouse click” from the keyboard macro recorder 
    The forth deletes the form field
    The keyboard macro recorder runs javascript 2 and then 3 then clicks on the link just to the right of the middle of the screen and uses keys to get to the advanced editing to get to edit the hyperlink .
    The hyperlink is then copied to excel where it is converted using string functions to the needed javascript text to be copied back.
    To the acrobat file into a java script (after deleting the hyperlink)
    Rinse/lather/repeat
    I have been able to convert about 150 links an hour.
    Better then hand typing, but not like having java access to the links.
    I am looking to improve the solution

    thanks for your help.
    I may have been confusing a "acrobat bookmark" and a bookmark in a word file that is converted to a pdf and ends up being a
    link of the type:
    "Go to a page in this document"
    which I do not want in my array vs
    a link of the action type:
    "Open a web link"
    Which I do want
    John
    My code, note how I have to skip pages with "Go to a page in this document" links depending on the document, I would like to use the same code for each document and skip over the "Go to a page in this document" links :
    global.ilinkindex = 1; 
    global.aLinkquads = [ [0, 1, 1, 0, 0],
           [0, 0, 0, 0, 0] ];
    function GetLinkArray()
    global.ilinkindex = 1;
    var iTotalLinks=0;
    // for ( var p = 0; p < this.numPages - 8 ; p++)                   // end before bookmarks for each page of the file x.pdf
    //  for ( var p = 0; p < this.numPages; p++)                     // for each page of the file
    for ( var p = 23; p < this.numPages; p++)                     // start after bookmarks for each page of the file y.pdf
      var cropbox = this.getPageBox("Crop", p);
      var alinksonpage = this.getLinks(p, cropbox);            // get array of links on page
      for ( var ll = 0; ll < alinksonpage.length; ll++)
       var linkquads = alinksonpage[ll].rect;     // get link Quads
       linkquads[4] = p;          // add page number to link Quads array
        global.aLinkquads[global.ilinkindex] = linkquads; // add quads to global link Quads array
        global.ilinkindex++;
    iTotalLinks = global.aLinkquads.length - 1;
    global.ilinkindex = 1;
    app.alert("Number of Links in Document is " + iTotalLinks );

Maybe you are looking for

  • PCI video capturer........!!!!!S.O.S.!!!!!.........Please.

    Can be captured video of the connected disposotivo the entrance independently?. For example of a DVD player.... My Pci is Pinnacle Studio 500 PCI, and software is Studio 10 from Pinnacle too. THANKS.

  • [SOLVED] Firefox - silent fail

    Last thing I did before shutting down on Friday night (UK time), I upgraded. Since I've tried to run Firefox after that, it fails silently. The two events may not be connected, but it's the only thing I can think of that may be the cause. The package

  • Error while running startSQLRepository

    Hi, I am getting following error when I am trying to run the startSQLRepository cmd: D:\ProjectInstall\ATG\ATG10.0.1\home\bin>startSQLRepository.bat Application Server: jboss Exception in thread "main" java.util.MissingResourceException: Can't find b

  • Build/Burn Problems since Leopard

    Hello all - I'm trying to build a DVD with exported Final Cut Pro files with video and audio. The video compression is Uncompressed 8-bit 4:2:2, audio compression is Integer (Little Indian), 48khz, stereo. I've built DVDs with these type of files bef

  • Renaming launchpad folders

    so far except for scrolling (but trying it before reverting), Im loving Lion.  However, Is there a way to rename a a launchpad folders instead of using the default that Lion assigns it. example, if I create a folder with Garageband and iPhoto, it def