Receiving errors after modifying "How-to" javascript

I've succeefully used the "disable" javascript from this example: http://otn.oracle.com/products/database/htmldb/howtos/htmldb_javascript_howto2.html#disable. However, when I try to run it on a separate page for different items I receive javascript errors.
Basically, I've placed the main js function in the page head and changed the following calls to reflect the items in my page:
1) onChange="javascript:disFormItems('document.getElementById(\'P2_IS_DEMO\').value==\'0\'','P2_FILE_NAME');"
2) <script language="JavaScript1.1" type="text/javascript">
// This code calls the function when the page loads, thus setting the items state correctly.
disFormItems('document.getElementById(\'P2_IS_DEMO\').value==\'0\'','P2_FILE_NAME');
</script>
The page setup and items are very similar to the how-to however I still receive: "Object required" when nothing is selected for P2_IS_DEMO and "disItem is null or not an object" when anything else is selected.
Does anyone have an idea how to make this work?
Thank You in Advance.

Justin,
Are you trying to use the Javascript on a File Browse... item by any chance? There are some special rules that apply to such form elements that may prevent you from doing what you're trying to do.
Also, have you tried using a recent version of Mozilla or Firefox for this type of work? The Javascript console and debugging capabilities in it are much better than what you get in IE.
Sergio

Similar Messages

  • Receiving error after loading Dreamweaver... In a time crunch ...project deadline... need to identify problem and fix as quickly as possible

    Receiving error after loading Dreamweaver... In a time crunch ...project deadline... need to identify problem and fix as quickly as possible
    Occurs after I load Dreamweaver; most of the time --- Sometimes not until I try to access CSS Designer
    Have screen capture of error (see next page)
    Windows 7 Home Premium - Service Pack 1
    Platform 64 bit OS
    Has worked fine until recently
    Have installed one program (Print Artist Platinum 24 by Nova Development)
    Tried restore point but not dated back far enough
    Uninstalled and reinstalled Dreamweaver CC 2014 from Creative Cloud.. same error
    Any Ideas?

    Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Try step #4 and step #12

  • I am trying to download trial CC, but i am receiving error cod 205. how can i fix this problem? few months ago, i used trial CC and deleted it.

    i am trying to download trial CC, but i am receiving error cod 205. how can i fix this problem? few months ago, i used trial CC and deleted it.

    Creative Cloud Help / Error downloading Creative Cloud applications
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html

  • Receiving error after installation when attempting to open Cricut Craft room.

    Receiving error after installation when attempting to open Cricut Craft room. It says 'Application Descriptor cannot be found for this application.&quot; I have tried uninstalling/reinstalling/installing older version. Any ideas?

    Thanks for the help that fixed my problem for the initial error, but I
    still get the same error when I am writing a U16 2-D array to a range
    of cells. This is strange because the same code is used elsewhere and
    does not throw the error, but the data type is instead a Dbl 2-D
    array.  Unfortunately, I am unable to post the code.  It is
    on a stand-alone classified pc.

  • Portal runtime error after modifying masthead par file

    Hi experts,
    i tried to upload com.sap.portal.navigation.masthead.par in the portal (productive system) after modifying tooltip text of u201CHelpu201D link. i used Archive uploader.
    After upload, status messages are correct.
    But now in the masthead area, i have red message :
    "Portal runtime error"
    "An exception occurred while processing your request"
    I cannot also access the Browse Deploymentu2026
    So now i cannot log off from the portal (except by restart computer)
    In development system where I used the same procedure, everything is OK.
    Please help!

    Dev,
    Please ensure that the changes are correct by to upload the orignial par.
    The other way of modifying the par is as below,
    *Upload the PAR into NWDS and add the jars htmlb.jar, com.sap.portal.htmlb_api.jar and servlet.jar through java build path of your par project and add the jar com.sap.portal.navigation.masthead_core.jar (you can get this by extracting your par and navigate to the folder PORTAL-INF -> lib) in PORTAL-INF -> lib folder of your project.
    Make changes
    Build project
    Export into portal
    Ram

  • POP3 Receiving Error after mailboxs moved.

    Hi everybody,
    After moved mailbox from Exchange 2010 to 2013 database  some clients  get this error which use POP3 account;
    "Task [email protected] - receiving reported error (0x800CC90) : Your incoming (POP3) e-mail server has reported an internal error"
    They can send and receive email successfully but after send-receive process the error appear.
    -The error just on same departman clients, others can work smoothly.
    - Client can access to exchange server on required ports.
    - No mistake on outlook configuration.
    - there is no firewall or antivirus software on clients.
    I need help about it.
    Regards.

    Hi Emre,
    I found a similar thread for your reference, you can following the suggestion in this thread and check if any helps:
    http://community.office365.com/en-us/f/158/t/158280.aspx
    Solution :
    some users who suffer the similar issue resolved it by removing the corrupted emails from the Outlook Web App (OWA), but there is not a good way to find the corrupted emails. If the issue still persists on your side. I do recommend you refer to following way
    to check if the issue is caused by some corrupted emails and find out the corrupted emails:
    You can move all the emails to the Drafts folder on the Outlook Web App (OWA) and check if the issue persists. If the Outlook clients start working again, please move mails back a few at a time and then you can find the corrupted ones.
    Best regards,
    Niko Cheng
    TechNet Community Support

  • Receiving Error after Encumbrance

    Hi,
    When trying to receive a PO after Enabling Encumbrance getting this Error
    rvtptcontrol failed
    RVTTH-445: Subroutine Used-Defined Exception in Package
    CST_XLA_PVT procedure Create_RCVXLAEventStatement -300: :
    SQL Error: User-Defined Exception returned error
    Cause: Subroutine User-Define
    Pls help me to sort out this
    Thanks
    Dinesh

    A search on metalink shows these documents.
    RVTTH-448 Cst_xla_pvt Error When Secondary Ledger Has Cash Basis Accounting [ID 785895.1]
    ERROR: RVTTH-448: Subroutine User-Defined Exception in Package CST_XLA_PVT Procedure [ID 1302593.1]
    Take a look at them. If they don't solve your problem, bounce the receiving txn processor. If that does not work and the problem is occurring only in one database, bounce it. If that does not help, raise an SR
    Sandeep Gandhi

  • CProjects -error after modifying and then reverting custom field control

    Hi,
    We want to make a field non-mandatory in cProjects. We first changed the config of the field in the custom field control  in SPRO by making it changeable.But after that cProjects is giving a dump when we try to view or create any project.
    We reverted this change and restarted the servers but still see the dump.
    Any pointers on how to solve this issue will be helpful.
    Thanks,
    Simmi

    Vivek, Thanks for your reply.
    We did not modify the standard field control.We just tried to make the one of the standard fields 'Changeable' in the custom field control we have.But we got the dump, so we reverted the change back to 'Mandatory'.
    Now everything is same in the development server as other servers.. but still the dump shows up. Tried clearing IE cache , restarting server.. but the dump doesn't want to leave it seems.. Any ideas on what else we can try ?
    Thanks,
    Simmi
    Edited by: Simmi Balakrishnan on Sep 15, 2010 4:15 PM

  • Receiving error after installing TimesTen update via "Check For Updates"

    After applying the automatic update, I'm getting this error every time I start SQL Developer:
    SEVERE     131     0     oracle.dbtools.raptor.timesten.TTAddin     Cannot find TimesTen JDBC jar files in CLASSPATH

    I'm guessing that you have not installed the TimesTen In Memory Database?
    I got the same error because I have not installed TimesTen either.
    You can easily disable the extension by Tools -> Preferences ->Extensions and uncheck the TimesTen one.
    If you have installed TimesTen, I think that you need to add the jar files to your classpath environment variable ;-)
    HTH,
    Graham

  • I am receiving error message R6034, how do I fix this?

    I am trying to access my itune and am receiving this error message R6034, which say s an application has made an attempt to load the C runtime library incorrectly, contact applicaton support team, Error 7 Windows error 1114.  When I click on the icon for itunes it says I need to reload itunes, which I attempted, but still get the same error message.  Can anyone help me with this?

    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Receiving error after 10.5.2 update

    After updating Leopard to 10.5.2, I now get this error when I open iChat. Any Ideas? I just hit ignore.
    Uploaded with plasq's Skitch!
    Message was edited by: smfinlay

    Welcome to Apple Discussions!
    Mac OS X doesn't have DOS (as in old MS-DOS, which is what most people think of when you say DOS). It has what is called a Unix shell. Regardless, your issue while sounding similar may have different causes, please start a new topic thread here:
    http://discussions.apple.com/forum.jspa?forumID=1219&start=0
    You'll get a wider audience, and won't confuse the original poster with solutions that don't apply to them.

  • Error after modifying Taskflow

    Dear Experts,
    I have tried to create a taskflow which is a copy of the seeded AE HRMS PEOPLE TASKFLOW. Then i Disabled the existing buttons and enabled an item which was not a button.
    generally i clear cache and taskflow change gets reflected. i did the same and clicked on form. the following error popped up
    No such Item:CTL_PERWSEPI_NAV.NAV_BUTTON
    Please let me know about this.
    --Arun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Please could you provide more details on your setup? Would you mind posting step-by-step details of the configuration you defined? This will help us help you.

  • Cannot open iTunes-receiving error message "The  file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes" How do I correct this and access my iTunes?

    I am not able to open my iTunes on my HP pavilion dv7-3173nr entertainment notebook: I receive error message: The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes".    How can I correct this so that I can open my iTunes on my notebook?? dorothy278

    The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes".
    Try the following user tip:
    Empty/corrupt iTunes library after upgrade/crash

  • HT1925 I receive error code 2349   when trying to install iTunes.  Any idea what that code means and how to correct?

    receive error code 2349   when trying to install iTunes.  Any idea what that code means and how to correct?

    It's a better bet with a 2330, but the first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Cannot re-install software after receiving Error 16

    I tried to re-install Adobe Elements 11 after receiving Error 16. It would not re-install. It sent me an e-mail asking me to verify my e-mail address, clicking on a link which I did. It took me to a screen asking me to subscribe to a Creative Cloud product which I don't want. I just want to re-install Elements 11. How can I do that?

    You need to post in the iPod Touch forum. Here's the link.
    http://discussions.apple.com/forum.jspa?forumID=1215

Maybe you are looking for