Where to save the .js file in the file system ?

I have included the following code in the template header <script src="/i/javascript/its.js" type="text/javascript"></script> but the apex page cannot access it. The error console show "function xyz is not defined". The window View Source does show that line in the header section pf the page.
The javascript file is copied to $ORACLE_HOME/apex/images/javascript in the same place with other built-in apex scripts.
I would like to save the js file in the file system instead of loading into the db. Where should I copy the file to ?
Thanks for your advice,
Vu

Hi Paul, thanks for your reply. I changed as your suggestion and have the same result. The html source does show the line to load javascript but the Error Console still say "function not defined". For this same js file, if I upload thru Share-Component as static file then it works.
Below is part of the header under View Source.
</script>
<link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
<!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_3_1.css" type="text/css" /><![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/i/javascript/its.js" type="text/javascript"></script>
</head>
Vu

Similar Messages

  • Where is "save as" or how to change file type in Preview in Lion?

    Where is "save as" or how to change file type in Preview in Lion? I used to use Preview to change quickly change a lot of PNGs to either JPEGs or PDFs but with the introduction of versions auto save etc there no "save as" in the File menu. Any suggestions how to get this functionality back or how to get around it within OS X (no Photoshop etc)?

    Just wasted 15 minutes looking for that.  What's wrong with Save As?

  • In a new session of firefox, the initial download of a file is slow

    In a new session of firefox, the first file downloaded on that session is slow to start. Almost like a pause before it bring up the where to save window. I have the "please ask me where to save" selected. Every subsequent download after the initial download, firefox brings up the where to save window quickly. Firefox 3.6.3.
    == This happened ==
    Every time Firefox opened

    The dialog you are referring to is a ''shell dialog''.
    The most likely reason for this to take a long time is that the default location is taking a long time to resolve, as can happen if it's a network location or if the default folder doesn't exist.
    To reset the download location, reset '''browser.download.dir''' in the advanced configuration interface:
    # Select Firefox's location bar (press CTRL+L or click it)
    # Type '''about:config''' and press enter
    # Click '''I'll be careful, I promise!'''
    # in the Filter box, type '''browser.download.dir'''
    # Right click the keyword.url preference below and choose '''Reset'''

  • I cannot download updates automatically when I try to do it manually I don't know where to save it.

    When I received the message for new downloads, I tried to download. A message came up saying Firefox could not update for unknown reasons.
    It provided a link to update manually but then it asked where I want to save the updates. I don't know where to save them. I need the update link and directions on how to update manually including where to save the updates.

    - Double click on your Home button and close the apps who are running
    - Hold the HOME button and ON/OFF button until the logo apple appears
    - If nothing work try to connect a bluetooth keyboard to enter the name of your contact
    Hope I Helped

  • Lost document on my new MAC because I accidentally saved on another account that I had no permission to save to..now I don't know where the doc is but I just know its somewhere on the computer..maybe the temp files or something?!sos! please help me!!

    I saved a document, while logged in as a Guest, to another user account [it was set up for some reason to save like that (I guess the person who used computer last did that) and I didn't check before "saving"] on accident. Of course I didn't have permission to save on the other user's account but I was in a rush and so I figured everything was fine but later I found that there was a message warning me saying it did not save because it couldn't save because I had no permission to save on that account and gave me the option to duplicate or cancel.. I wasn't paying attention so I can't remember which button I hit but clearly it wasn't "duplicate"
    I took hours perfecting this document and now I can't find it.. anywhere!
    Where do these types of things go when this happens.. I know it's somewhere on the computer but where?? SOS I need the doc and I'm hoping I can find it
    I guess it's the same as someone who accidnetly hits "don't save"... question still stands.. please anyone help me!!!
    I'm trying to use Disk Drill but I only found things from November and it seems like it only shows files that have been physically/manually deleted..and my TIME MACHINE WAS NOT SET UP..because we recently got this MAC computer and had no clue what it was
    maybe its in some temp files somewhere..where do not saved documents go.. i know that it is probably writable but I know that is probably still exists
    ANYONE WITH INFO PLEASE PLEASE HELP!!

    tis true
    I know, I always do that but I was in a rush to get somewhere and I was relying on my thousand dollar Mac to do some kind of recovery or something. I know Microsoft always keeps temporary files (I think Mac does too, part of me asking here in this forum was for someone to tell me where I can find those files) and when you go to open Office Works then it gives you the option of opening the last recent documents, saved or not saved.
    I usually copy paste into my emial just in case something goes wrong with the created document but I just didn't have the time to login and do all that My loss, you live and you learn, BUT still if ANYONE got any info on this, PLEASE DO CHIME IN *keeping the hope alive*

  • I deleted my download folder and now I can't download anything. I can't select the folder to "save file to" and when I select "ask me where to save files" I still can't download. it says your file will start downloading, but then it doesn't. Help!!

    I deleted the folder that saves everything that is downloaded from Firefox. After that I can't download anymore. I've tried clearing my download history, reset the download folder, reset the download action by renaming the mimetype.rdfs file and it's still not working. I've tried to choose a different download folder but it doesn't let me select any folder at all. If I select "ask me where to save files" and then try and download something, the download doesn't start after I select save to. The only time it does actually download is when I select "open with...windows mediaplayer" when downloading then the download will start. Please help. Thank you.

    You broke your phone by getting it wet.  Nothing more to say.  Bring it in to Apple for an out of warranty exchange or buy a new phone.  There's really nothing else we users here can help you with.

  • When downloading a large file, like a movie Internet Explorer automatically provides one with the choice of where to save it - e.g. "C" drive, but Firefox doesn't. How can it be done?

    When downloading a large file, like a movie, Internet Explorer automatically opens a download window offering the choice to "Open" or "Save"the file. This provides one with the choice of where to save it - e.g. "C" drive, in the "My Documents" or "Desktop" folders but Firefox's download window doesn't. This has always frustrated me because I would rather use Firefox exclusively to access the Internet, but when it comes to saving files downloaded off the Internet, sadly, I have to revert to IE!

    If you click on Firefox from the upper-left, then Options, a new window should appear. On that window, click on the general tab. In the middle of the window, you'll see options regarding your downloads, one of which says, "Always ask me where to save files." Click on the bubble for this options, then click Ok. From then on, you should always be prompted on where you want your files saved.

  • I just want the option to "save as" when downloading a file so I can choose where to save it. Right now, I go back to my Internet Explorer to do this.

    I changed my setting to "always ask where to save files" and I went into my profile folder and deleted my preference folder.

    Did you check the download settings?
    *Tools > Options > General : Downloads : "Always ask me where to save every file"
    *https://support.mozilla.org/kb/Downloads+window

  • How can I upload a file to the server where I save the Java Web Start Files

    Hello,
    Does anyone knows how to upload a file to the directory where I save the JAR files through the Java Web Start program. Thanks you

    ftp

  • Since upgrading to Lion, i am unable to take screen shots.  i get the message that i don't have permission to save files to the place where SSs are saved.  how can i regain the ability to save screen shots?  thanks

    since upgrading to Lion, i am unable to take screen shots.  i get the message that i don't have permission to save files to the place where SSs are saved.  how can i regain the ability to save screen shots?  thanks

    First of all, are you using the OS native screen capture?
    If not, make sure the application you're using has been update for Lion.  I was using Snapz Pro for years, but I need to update it for use with Lion. Meanwhile Grab and the keyboard shortcuts are working on my Lion load.
    If you are using the native capture mode unsuccessfully, I would run the Disk Utility and repair permissions on the drive. For some reason, even in past OS Versions, routine maintenance of permissions makes life a lot easier.

  • I recently upgraded to Mavericks and I now cannot find under the file menu the option to "Save As" in my Numbers application. Where did it go?

    I recently upgraded to Mavericks and I now cannot find under the file menu the option to "Save As" in my Numbers application. Where did it go?

    In many, many apps Apple has now created a confusing array of "save as..", "export", and "duplicate" all doing essentially the same thing - saving a new copy elsewhere possibly with format changes.  Drives me nuts.
    But its always there.
    Grant

  • I use to administrate my DSL modem via an ip-address. When I enter it into FF8 I am asked where to save the file. Why and how can I prevent FF8 from doing that?

    I use to administrate my DSL modem via an ip-address. When I enter it into FF8 I am asked where to save the file. Why and how can I prevent FF8 from doing that?
    And now anytime I am entering an ip-address I am asked if I want to download the file.

    It happens when the modem server doesn't send the file as text/html, but with another MIME type.<br />
    I tried the index.html addition in case the server might send that file as text/html.<br />
    If your DSL modem has a support website then you can try to ask there for advice about how to configure the modem server.

  • How and where to save the email attached files on iPhone 5?

    how and where can I save on my iPhone 5 the files (mp3, wav, doc, jpeg, etc.) that come attached to the emails?...
    thanks a lot

    Photos attached to an email can be saved to the Camera Roll in the Photos app on your phone. Tap and hold on a photo in the email until you get a choice to Save Image.
    Other documents require a suitable app.
    PDFs can be saved in the free iBooks app available in the App Store.
    Word docs can be saved in Pages or other apps that support text files.
    Etc.
    To save a document tap on the doc. You will either be able to view the contents or get a choice to open in some other app,

  • HT6114 Can't save downloads to existing files??  In the "save as" box I use the little "search" window to locate where I want to put a new file but when found the location file does not operate.  And dropdown menu says "save to online acct"

    When I try to save an emailed-to-me document to an existing file on my hard drive by using the little "search" window the recipient file is inactive and does not open to recieve the document I want to save (nothing happens when I click on it and it's a subdued color).
    If I click through my files manually by starting on the desktop and working my way to the location of the recipient file I can save.
    This takes a lot of time and is DRIVING ME CRAZY!
    Please tell me I've just missed something obvious that can be fixed in a jiffy!?

    OMG!!  It also happens when I try to open a file from inside a program like Adobe Reader.  If I use the little corner search window all the files are inoperable.

  • Can I change the drive where iPhoto save image files?

    I have two internal hard drives 80GB and 250GB. All my app's and iPhoto are currently installed on the smaller drive which is where iPhoto saves all my images. Is there anyway change the location where iPhoto save all my images? I looked at preferences for iPhoto, but can't find anything
    PowerMac G4   Mac OS X (10.4.7)   iPhoto 6.0.4

    Brian
    Quit iPhoto
    Copy the iPhoto Library folder in home/Pictures to the required drive.
    Restart iPhoto holding down the option (alt) key.
    This will give you the option of creating a new library or choosing one, select the choose option
    Navigate to the new Library
    When you are sure that all has gone well, you can get rid of the original.
    Regards
    TD

Maybe you are looking for

  • How to put links in a document with Adobe 9 or 8?

    I have a document that used to have some underscored blue colored words in different places of the document. Clicking on these words it jumped you to another page of that document related to those blue words. I don't know why, but I lost those "inter

  • How to change the header text on output type in sapscript

    Dear All, In the sapscript, I would like to changes the header text from invoice number to sales number on the output type z001. Could someone can guide me? Thanks.

  • Is my ipod broken or just in need of a battery replacement?

    My ipod is only 6 months old, i use it for about 1hr a day 4-5 days a week. I used to only have to charge it every 3-4 wks, i now find myself having to recharge at least once a week and sometimes it seems like it freezes with just the apple symbol on

  • Problem printing a pdf

    When I go to print a pdf from my new macbook pro to a hp laserjet 1200 it takes 20+min to start printing.  If I try to print 50 pages it may only print one.  Printer works fine with my toshiba laptop.  Both connect via usb

  • No record return

    Hi all, I am using the below query to run it against oracle database to do searching. when i run this query to return all the records with something like 'Du.................' It just give me a blank page and when I run the database without using thi