Error with Javascript

Hello, is there anyone that can assist me with this problem,
it has been a month or two now and no one has answered me...this
matter is important to me...
I am on my third trial version of 'Contribute'
This is my problem:-
I am experiencing an annoying problem, I cannot edit my
website because, along the way Contribute3 throws up errors to do
with javascript.
E.g, when trying to copy any image, text I get the following
error:
While executing DWMenu_Edit_Cut command in ccmenus.xml, the
following JavaScript error(s) occurred:
Then when I try to save the page:
"While executing onLoad in_afterSave.htm, the following
Javascript error(s) occured:
In fine "" _afterSave"":
ReferenceError: afterSave is not defined"
It does save the page, but I have to keep clicking the
errors
In addition to that, I am unable to view my style sheet
options (this is already enabled) ...
Does any one have any other options?... Can anyone assist
with this I cannot keep using th trial versions - as I use
Contribute on a daily basis...

Jennifer,
I'm not sure if I can answer your question directly but, if you simply move the location of your code, it will work. You want this to execute when the page loads, right?
Just go into the Page properties. IN the section labeled "JavaScript" find the text area labeled "Execute When Page Loads" in there, put:
$x_HideItemRow('P150_OTHER');That will execute the hide command whenever the page loads.
-Joe

Similar Messages

  • ?BUG? App Export / Import error with javascript

    Greetings -
    Anyone have an idea on how to get around this or if I'm doing something wrong?
    I have a page button to collapse a tree, with a URL Target of:
    javascript:apex.widget.tree.collapse_all($v(P2130_TREE_ID));
    Page and button work fine, have never had a problem.  Until I went to do an application import and found that the SQL file for the import was corrupted due to the above line.  SQL file has:
         p_button_redirect_url=>'javascript:apex.widget.tree.collapse_all($v(P'||to_char(2130+www_flow_api.g_id_offset)||''_TREE_ID));',
    It appears to have an extra (2x) single quote right before _TREE_ID.  I have this logic in several places in my application and every place caused the same error.
    Application copy also fails with same error.
    Thanks,
    Scott

    Tom -
    I assume this is the prior post you where talking about : https://forums.oracle.com/thread/2401714
    However, this doesn't cover my problem.  I have tried all the follow, and they all break export / import and copy functionality due to mismatched quotes:
    collapse_all($v(P2130_TREE_ID));
    collapse_all($v('P2130_TREE_ID'));
    collapse_all($v("P2130_TREE_ID"));
    collapse_all('&P2130_TREE_ID.');
    collapse_all("&P2130_TREE_ID.");
    These all allow the collapse button to work.
    NOW, if I change my ID tag to be something like 'P_SCOTT_TREE' then everything works just fine (import/export/copy).  It's having a number in the tag that is cause the problems because the export is casting it to_char and somehow throwing in an extra quote.
    Thanks,
    Scott

  • Error with JavaScript on XDP form rendered as HTML

    I have saved a form as an XDP and am rendering it as HTML with LiveCycle Forms Server ES. When I click on certain form buttons that cause JavaScript code to fire, I get the following error:
    this._peer is undefined
    I've seen this error posted in a few Adobe forum posts without answers. Any ideas?
    - Nate

    It is a regular button that fires code that does a popup dialog box. It works fine when the form is rendered as a PDF; I get the "this._peer is undefined" error when I render it as HTML and try to run the code. Here's the code:
    var insert_clauses =
    result:"cancel",
    DoDialog: function(){return app.execDialog(this);},
    strpop1:"",
    SetListSel:function(list,path){if(path.length == 0) return;
    eval("list[\""+ ((typeof path.join != "function")?path:path.join("\"][\"")) + "\"] = 1")},
    GetListSel:function(oLstRslts,path){
       for(var item in oLstRslts){
          if( ((typeof oLstRslts[item]=="number")&&(oLstRslts[item]>0))
             || this.GetListSel(oLstRslts[item],path) )
           {path.push(item);return true;}
       return false;
    initialize: function(dialog)
    //this.xfa.form.Ultra_Form.Page1.clauses.rawValue;
    //var listpop1 = {"Clause1": -1,"Clause2": -2}
    var listpop1 = {};   
    //listpop1["Select a clause to insert"] = 1;
    //xfa.resolveNode("xfa.datasets.data.Ultra_Form.Page1.clauses").value
    var arrClauses = xfa.resolveNode("xfa.datasets.data.Ultra_Form.Page1.clauses").value.split("||"); //
    var num=0;
    while (num < (arrClauses.length))
      var test = arrClauses[num];
      listpop1[test] = -num;
      num+=1;
    //dialog.load({"pop1": listpop1});
    this.SetListSel(listpop1, this.strpop1);
    var dlgInit =
    "pop1": listpop1,
    dialog.load(dlgInit);
    commit: function(dialog)
    var oRslt = dialog.store();
    var path = new Array();
    this.strpop1 = (this.GetListSel(oRslt["pop1"],path))?path.reverse():"";
    description:
    name: "Insert Clauses",
    elements:
    type: "view",
    width: 757,
    height: 86,
    elements:
    type: "view",
    width: 735,
    height: 43,
    char_height: 10,
    elements:
    type: "popup",
    item_id: "pop1",
    name: "clauses",
    width: 717,
    height: 23,
    char_width: 8,
    type: "ok_cancel",
    // Example Code
    insert_clauses.strpop1 = "";
    if("ok" == insert_clauses.DoDialog())
        if(this.xfa.form.Ultra_Form.Page1.Seller_Name.rawValue == null)
            cur_val = "";
        else
            cur_val = this.xfa.form.Ultra_Form.Page1.Seller_Name.rawValue;
        new_val = cur_val + insert_clauses.strpop1;
        this.xfa.form.Ultra_Form.Page1.Seller_Name.rawValue = new_val;
        xfa.host.setFocus("this.xfa.form.Ultra_Form.Page1.Seller_Name.somExpression");
        app.setTimeOut("xfa.host.setFocus('" + this.xfa.form.Ultra_Form.Page1.Seller_Name.somExpression + "');", 10);

  • Error with javascript under HTML body attribute

    Hello,
    I put this onload="$x_HideItemRow('P150_OTHER')" under HTML body attribute, however, i got an error:
    1 error has occurred
    You may not declaratively set cursor focus if you specify an ONLOAD in this attribute. You can programatically set cursor focus by using the following syntax:
    onload="mystuff(); first_field();"
    How to fix this?
    Thanks,
    Jennifer

    Jennifer,
    I'm not sure if I can answer your question directly but, if you simply move the location of your code, it will work. You want this to execute when the page loads, right?
    Just go into the Page properties. IN the section labeled "JavaScript" find the text area labeled "Execute When Page Loads" in there, put:
    $x_HideItemRow('P150_OTHER');That will execute the hide command whenever the page loads.
    -Joe

  • XML IDOC post to R/3 Via WAS - want to see error content with JavaScript

    Hi,
    I am posting XML IDOCs to our R/3 system via a webpage that I have built with JavaScript.  I am posting to the WAS, which is configured to read the XML IDOC with SAP's standard class handler CL_HTTP_IDOC_XML_REQUEST.  We are on basis 620 support pack SAPKB62041.
    In my webpage, I have the JavaScript code set to read the status and statusText so I can see the response from WAS when I post my XML IDOC.  However, I am getting back very generic information when I encounter a 409 error.  THe statusText is always "input_not_found".  So I debugged the class handler code and found that SAP is returning back the more descriptive error info in HTML format.
    I ran a packet sniffer to see what WAS returns and the info looks like this:
    <html><head><title>IDoc-XML-inbound not ok</title><h1>IDoc-XML-inbound not ok</h1></head><body>
    E:Table Lookup Error:300 Cannot map value for field MESCOD in table ZFI_IF_IDOCORG using values
    SNDSAD = |TE|  and RCVLAD = |GL|  and MESTYP = |ACC_DOCUMENT|</body></html>
    I want to know how I can get my webpage to read this HTML info and store that into an alert so I can read this text that I'm returning back to the HTTP post.
    This is how my script looks.  I'm using IE6.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Test XML</title>
    <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
    <!--
    function XMLHTTPButton_onclick(DataToSend) {
         var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
         xmlhttp.Open("POST","http://some_server:1089/sap/bc/zxml_idoc?sap-client=200&sap-language=EN",false);
         xmlhttp.setRequestHeader("Content-Type", "text/xml");
         xmlhttp.send(DataToSend);
            alert(xmlhttp.Status);
            alert(xmlhttp.statusText);
         alert(xmlhttp.responseXML.xml);
    //-->
    </SCRIPT>
    </head>
    <body>
    <BR>
    This page posts to
    <BR>
    http://some_server:1089/sap/bc/zxml_idoc?sap-client=200&sap-language=EN
    <FORM name=xmlform method=post >
    <P><TEXTAREA style="WIDTH: 623px; HEIGHT: 369px" name=xmlData rows=23 cols=77>
    </TEXTAREA>
    <P>
    <INPUT type="button" value="Submit XMLHTTP" id=XMLHTTPButton name=XMLHTTPButton
    LANGUAGE=javascript onclick="return XMLHTTPButton_onclick(document.xmlform.xmlData.value)">
    </form>
    Previously with this class handler, SAP returned the detailed info back to the "alert(xmlhttp.statusText)" and I had no problem seeing the return info.  But now they have decided to format it in HTML and I don't know how to view this text since it has no ID on it to pull this into an alert box.
    If anyone has any ideas, please let me know.
    Thanks,
    Andrea

    Ok!
    I have solve the problem. So, I was trying to connect via SSO within an user that was not registered in R/3 and I forgot it.
    Sorry for the inconvenience.

  • CS5 Reports error with Google Javascript Code

    I beleive I have found a bug in the Dreamweaver CS5 code syntax system,
    <script type="text/javascript" src="http://www.google.com/jsapi?key=<?=GOOGLEAPIKEY;?>"></script>
    This line generates an error in dreamweaver "There is a syntax on line x. Code hinting may not work until you fix this error." but there is no error!
    Infact I found that mixing php with javascript in anyway causes this error to appear anyone else have the problem? How can I resolve it?
    <script type="text/javascript" src="http://www.google.com/jsapi?key=<? echo "test";?>"></script>
    generates the error as well!
    In my experience it is happening with dreamweaver templates, the error doesn't show in the template file but any file using the template does.

    Nope, sorry PZ,
    I'm using the PHP Include from the DW CS5 menu and I get the error message as soon as I insert it.
    ie. it has <?php
    Hiran

  • I"m having Javascript errors with 10.5.2

    I've recently started having Safari and Firefox lockups when going to ESPN.com and a few other sites (linked stories on Infoworld) requiring me to Force Quit the applications. If I turn Javascript off, the sites will load but won't function correctly.
    I just launched Safari on my Powerbook that's running Tiger and it handles ESPN's site just fine with Javascript enabled so it's something specific to 10.5.2.
    Any ideas on what I might be able to do to resolve the issue on this laptop?
    Thanks,

    Yeah, I've tried clearing cache, clearing history and have even deleted almost all cookies just in case there was anything hanging up in that. No luck. Firefox seems to work on Infoworld but dies on ESPN just like Safari. On ESPN's site, I can't even get the home page to load.
    It's to the point that I either have to enable/disable Javascript on a site-by-site basis (and that's a real pain) or resort to IE in Windows on VMWare Fusion (and that's even a bigger pain).

  • Open and Close Popup With Javascript

    Using Apex 3.2
    I have probably done this loads of times in my old job, but do not have access to the code and today I just can't get it to work properly.
    I have opened a pop up window with javascript
    Now I need to close it and refresh the calling page, but only if it passes the validation on the popup.
    I have a hidden item on my pop up called P7_FLAG.
    I have a page process after validation that sets P7_FLAG to (only set to 1, if passes validation).
    I also have a SUBMIT button.
    So once I click my SUBMIT button the page should look at the validations, if ok, set P7_FLAG to 1, then close the popup and refresh the calling page.
    My current javascript look like this
    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    var test = $x('P7_FLAG').value;
    if(test == '1')
    window.close();
    window.opener.doSubmit('REFRESH');
    </script>On my button
    javascript:saveChanges();The problem is that I need to click the SUBMIT button twice.
    First time it sets P7_FLAG
    Second time it closes page and refreshes.
    I have probably made some basic error, but today I cannot see it.
    Cheers
    Gus
    Edited by: Gus C on May 10, 2012 12:48 AM

    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    var test = $x('P7_FLAG').value;
    if(test == '1')
    window.close();
    window.opener.doSubmit('REFRESH');
    </script>javascript does not wait for the current action to complete and then perform the next line.
    means in your function call
    doSubmit('SUBMIT');is triggered and it carry on's to next line that is
    $x('P7_FLAG').value;this will not be set because you are setting the value of P7_FLAG to 1 in plsql and trying to check in javascript, which will not work.
    what you need to do is amend your js function like below
    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    </script>create a page branch to procedure and make it conditional to when P7_FLAG = 1
    and set the branch source to below
    htp.p('window.close();');
    htp.p('window.opener.doSubmit(''REFRESH'');');

  • Problem with JavaScript in URL iView

    Hi,
    I am facing a problem with javascript when i am trying to access my application through URL iView. In the javascript window.top is used to access the frames in the window. But the EP is not recognizing it as valid. what exctly the problem and please suggest me a solution.
    Ashok.

    Hi,,
    thanks for the quick reply. But what i asked was different. I will put it in different way. I have deployed a application in Web Application Server and trying to access it through URL iView. My application is pure J2EE application with html,jsp and JS files. In javascript we used window.top property of the java script which is working fine MS IE. The problem is window.top is a IE specific property which is not having any equallent open standerd so EP is throwing a java script error. As I know the only possible solution for this problem is inherating IE rendaring capabilities to iView(i.e iFrame). is there any way to do that?
    Ashok.

  • Problem with JavaScript in DPS

    Hello,
    i have little problem with one HTML page in DPS. We've created HTML form, which is formatting output with JavaScript and then passing to local mail client via mailto. It works nicely in Safari on desktop, it works in Safari on iPad BUT it don't work in DPS, when we use it as HTML content (frame on page where form is loaded). Unfortunately, there is no way how to learn what's wrong - on iPad it works, it's not working just in DPS (and it's not working in Viewer on desktop too).
    Anyone have any idea what to do?
    Script is fairly simple, it's my compilation of other works, because i'm not JS programmer, just i'm skilled with google-copy-paste... So there can be some VERY trivial error, but i don't know correct syntax...
    very simple version of this form, which is not working in DPS (but everywhere else), is here
    http://dl.optio.cz/mailtoExample.html
    Thanks for any help!

    Hello,
    when used in DPS browser, it's working (as part of HTMLresources.zip). I don't know if this will help, but here is small game, which works correctly in DPS in web overlay. when you move any red circle, it will let you send results via email. But this is too complicated for my minimal skills.
    http://dl.optio.cz/Hra_en/
    Anyway, thanks for help
    Martin

  • Coldfusion 11 error with cflayout

    0 down vote  favorite  
    I have some applications developed on older CF versions (9&10) and in anticipation of a hosting system migrating to CF11 and started doing some
    testing with a CF development platform on Windows 8 with Apache 2.4. I have found that in CF11 pages using cflayout and cflayoutarea does not work
    correctly when collapsed with javascript:ColdFusion.Layout.collapseArea.  Firebug does flag an error in the CF javascript. Wondering if anyone else
    has seen a problem like this and if there is a circumvention I could use to get this working.
    A very simple example (complements of the Chapter 2 cflayout example demonstrated in Dan Short's video on Ajax & Coldfusion) fails as well on
    CF11 but works in CF9 & CF10. 
    main.cfm
    <!doctype html> <html> <head> <meta charset="utf-8"> </head> <body> <cflayout name="borderLayout" type="border" fittowindow="true"> <cflayoutarea name="header" position="top" size="75">This is the header<br /> <a href="javascript:ColdFusion.Layout.collapseArea('borderLayout', 'left');">Collapse Left Column</a><br> </cflayoutarea> <cflayoutarea name="centerColumn" position="center" source="content.cfm?pageName=Header 1" /> <cflayoutarea name="rightColumn" position="right" style="width: 100px;">This is the right column</cflayoutarea> <cflayoutarea name="leftColumn" position="left" title="Left Column" style="width: 250px;" collapsible="true" splitter="true" minsize="200"> This is the left column<br /> <a href="javascript:ColdFusion.navigate('content.cfm?pagename=Header 2', 'centerColumn');">Load Header 2</a> </cflayoutarea> <cflayoutarea name="footer" position="bottom">This is a footer &copy; 2010</cflayoutarea> </cflayout> </body> </html>
    content.cfm
    <cfsilent> <cfparam name="URL.pageName" default="Default header" /> </cfsilent> <!doctype html> <html> <head> <meta charset="utf-8"> </head> <body> <cfoutput><h2>#URL.pageName#</h2></cfoutput> <p>This is the text content from content.cfm</p> </body> </html>  

    use <CFAJAXIMPORT tag and make sure you have the CFIDE folder as a virtual directory in your IIS local or server machine. if the "cfajaximport" tag alone didn't work, try using it in little more details to the path of CFIDE folder and specify cflayout within the cfajaximport tag as follows:
    <CFAJAXIMPORT
        CSSSRC = "CFIDE/scripts/ajax/"
        SCRIPTSRC = "/CFIDE/scripts"
        TAGS = "cfdiv,cfform,cfgrid,cfinput-autosuggest,cfinput-datefield,cflayout-border,cflayout-tab,cfmenu,cftextarea,cftooltip,cftree,cfwindow">
    Normally, you shouldn't need all these specifications in the cfajaximport but in case you may try it in more detail as shown above.

  • Opening document in frame with javascript

    Hello.
    I've got problem with javascript on Safari 4 (both and on Win and on MacOS), while trying to open html document in frame.
    Reproducing the problem is quite difficult, so I'll begin with html source.
    I have one frame in index.html file:
    +<iframe id="topframe" name="topframe" scrolling="no" frameborder="0" width="980" height="580" src="form1.html";></iframe>+
    form1.html looks like this:
    +<input type="button" id="action" name="action" value="Make action" onclick = "document.getElementById('actionframe').src='dir/action.html';">+
    +<input type="button" id="sel" name="sell" value="..." onclick = "top.frames[['topframe']].location.replace('form2.html');">+
    action.html source is:
    +<script type="text/javascript">parent.document.getElementById('sel').click();</script>+
    So, when you open index.html, you see two buttons: first opens form2.html in the same frame, second opens dir/action.html in other frame. While dir/action.html just "clicks" the first button.
    Basically both buttons does the same.
    The problem is, that Safari fails to open form2.html with first button. Somehow Safari thinks that form2.html is in /dir/, like action.html is. So you get this error:
    *Not Found*
    *The requested URL /safari_test/dir/form2.html was not found on this server.*
    This example works on all major browsers, except Safari 4. Even on Safari 3 it works fine.
    I made an example, so you can test it here:
    http://82.135.245.49/safari_test/
    Message was edited by: Elvinas

    Have you tried putting the full URL instead of just form2.html?
    Second option is to move the file to that directory and change it for the other browsers.
    Third option is to stop using frames altogether, they are generally considered bad practice and can cause issues with browsers that aren't IE.

  • Reg error in Javascript

    Event I used - *Formready
    default path given by ALD  -
    data.BodyPage.SF1.ITEMS.DATA :: ready:form - (Javascript, Client) -
    And i  had written following code
    var data1;
    data1 = "Total"
    if ( xfa.form.data.BodyPage.SF1.ITEMS.DATA[*].XBLNR.rawValue == data1 )
      xfa.form.data.BodyPage.SF1.ITEMS.DATA.XBLNR.border.fill = "True" ;
    else{
    xfa.form.data.BodyPage.SF1.ITEMS.DATA.XBLNR.border.fill = "False";
    What i am doing  :
    variable data1 is having a value Total. Then i am comparing the value of field (xblnr) which is in ITEMS table . if value found,then i   m filling the border. 
    But i am not getting any error in javascript and no changes on output . Can anybody suggest me in this?
    Answer will really be appriciated.

    Hi,
    I might be incorrect, but please check the foll-
    In javascript, all the variables and values you use are case sensitive. Pls. check this. Make sure all statements end with " ; "
    You may be able to activate the form successfully despite incorrect coding in the script.
    How I check for errors is by display both the values I am comparing, using a popup as follows -
    xfa.host.messageBox("Total: " + Total);
    Thanks, Liz

  • Firefox 6 Gives me error "Protocol Javascript isn't associated"

    I have never had this issue before. I have just upgraded to Firefox 6, and now, almost all links, clinking on any link prompts me with: "Firefox doesn't know how to open this link because protocol (javascript) is not associated with any program"
    This has never happened before, but immediately after upgrading to FF6, it's been constant. I have tried uninstalling and re-installing Java, which made no different. I'm completely baffled as to what may be causing this issue.

    According to a suggestion in another thread, you may want to try the following to return certain JavaScript settings to their defaults.
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''javasc''' and pause while the list is filtered
    (3) If the line with '''network.protocol-handler.external.javascript''' is bold (or shows user set true), double-click it to return its value to the default setting of false. This should get rid of that error.
    (4) If the line with '''javascript.enabled''' is bold (or shows user set false), double-click it to return its value to the default setting of true.
    If the links/buttons/etc. still do not work after that, please indicate whether any of the other settings show "user set".
    Any luck?

  • JSF problems with Javascript

    Hi everyone!!
    The situation is this: I have a datable with one of its columns make an h:commanLink, which has two f:params, its actionListener is a function of a ManagedBean. This is JSF, not MyFaces. In IE, When the link is pressed, it shows a javascript error: " 'elements.idVar' is null or it's not an object ", however in Firefox, it works perfectly. I have been looking for the problem and it have to do with this:
    </form><a href="# onclick="clearFormHiddenParams_formResultado('formResultado');document.forms['formResultado'['formResultado:_idcl'].value='formResultado:dtTablaResultados:0:_id10';document.forms['formResultado']['idVar'].value='37';document.forms['formResultado']['idMun'].value='168'; document.forms['formResultado'].submit(); return false;"><span id="formResultado:dtTablaResultados:0:itColumna3" title="AREA COSECHADA EN CULTIVOS PERMANENTES">1,230</span></a></td>
    </tr>
    <tr class="standardTable_Row2">
    <td><span id="formResultado:dtTablaResultados:1:itColumna1" style="text-align:center;" title="C&oacute;digo Municipio">718</span></td>
    <td><a href="javascript:void(0)" onclick="javascript:window.opener.opener.showLink('SASAIMA')"><span id="formResultado:dtTablaResultados:1:itColumna2_l" title="Municipio">SASAIMA</span></a></td>
    <td><form id="formResultado:dtTablaResultados:1:_id9" method="post" action="/ConsultaEstadisticasGeo/resultadoConsulta.jsf" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="com.sun.faces.VIEW" id="com.sun.faces.VIEW" value="_id39:_id41" /><input type="hidden" name="formResultado:dtTablaResultados:1:_id9" value="formResultado:dtTablaResultados:1:_id9" /><input type="hidden" name="idVar" /><input type="hidden" name="idMun" /><input type="hidden" name="formResultado:_idcl" />
    <script type="text/javascript">
    <!--
    function clearFormHiddenParams_formResultado_dtTablaResultados_1__id9(curFormName) {
    var curForm = document.forms[curFormName];
    curForm.elements['idVar'].value = null;
    curForm.elements['idMun'].value = null;
    curForm.elements['formResultado:_idcl'].value = null;
    //-->
    </script>
    the way JSF manage the params. The error, acdording to the message shonw by IE is in this line: curForm.elements['idVar'].value = null;
    The code of the JSP is this:
    <h:commandLink     actionListener="#{consultaEstadisticasMB.detalleEstadistica}">
         <f:param name="idVar" value="#{consultaEstadisticasMB.idColumna3}" id="idVar" />
         <f:param name="idMun" value="#{registro[0]}" id="idMun" />
         <h:outputText title="#{consultaEstadisticasMB.columna3}" id="itColumna3" value="#{registro[2]}" />
    </h:commandLink>
    Waht can i do? (Not using MyFaces, because I can�t do that)
    Thanks for your answers!!

    I have run into this same problem with javascript and the colon. I am not sure if the colon is a valid character for a javascript identifier (one would think the RI developers would have checked it out though!?!).
    Anyway, my workaround is to search through the Javascript DOM for the widget you want to obtain a reference to, using part of its id. After all, you know its id, you just can't use it as a javascript reference. In your Javascript code, do something like:
        var inputWidgets = document.getElementsByTagName("input");
        var targetInput;
        for(var i = 0; i < inputWidgets.length; i++)
           var inputId = inputWidgets.id;
    if(inputId.indexOf("yourInputId") != -1)
    targetInput = inputWidgets[i];
    break;
    It's a lot of effort to just get a reference to a form widget....but it works (I pasted in the code and changed it a bit, so it might not work as is, but at least it demonstrates the idea).

Maybe you are looking for

  • Selective Deletion of the Cube contents in Abap Program of the PChain

    Dear Experts I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5 For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain The

  • Disabling "Do You Want To Use..." message

    Hey all, I've seen a post here in the support forums on this topic and can't for the life of me find it, so please forgive my asking again. I don't use Time Machine. Every time I attach an external HD, start/restart my computer with an external HD at

  • How to list searched email in dATE ORDER

    There seems to be a problem with searching for email with my iphone5s.Unlike with my iphone 4s it does not display the results in date order. The most recent emails are shown buried further down in the list. I have asked the gurus at two Apple shops

  • Howset value to organization field in the selfregister user reqapprovalform

    hi, my use case is when ever end user performs self registration request goes to manager, manager will provide organization value manually to the approval form, But i want to set default value to that field, how to set default value to oranization fi

  • [Dreamweaver CS4] Absolute & Relative Position - Referenzpunkt und Probleme WebSite

    Hallo Community! Ich habe mich heute hier registriert, und dies ist auch mein erster Beitrag, allerdings habe ich schon des "öfteren" auch hier nach relevanten Hilfen für mich gesucht und diese auch meistens gefunden, allerdings hänge ich jetzt wiede