Ajax problem in IE7 - get.get() is empty

I am testing Ajax under Mozilla Firefox and IE7. Under Firefox is everything fine but IE7 gives me errors.
My process is the following:
declare
l_counter number;
l_o_name varchar2(2000);
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('<select>');
htp.prn('<option value="x">x</option>');
htp.prn('</select>');
debug.add('ok');
end;
debug_add('ok') adds text 'ok' into debugging table. I can see that this info is being inserted into the table, so the process runs through.
My JavaScript is in ApEx page attributes "HTML header" section and is like the following:
<script type="text/javascript">
function get_AJAX_SELECT_XML(pThis,pSelect){
     var l_Return = null;
     var l_Select = html_GetElement(pSelect);
     var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=my_proc',0);
     get.add('GTEST',pThis.value);
alert(get.get());
     gReturn = get.get('XML');
     if(gReturn && l_Select){
alert('Never here in IE7');
          var l_Count = gReturn.getElementsByTagName("option").length;
          l_Select.length = 0;
          for(var i=0;i<l_Count;i++){
               var l_Opt_Xml = gReturn.getElementsByTagName("option");
               appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
     get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
     if(document.all){/* why is ie different ask bill */
          pSelect.options.add(l_Opt);
          l_Opt.innerText = pContent;
     }else{
          l_Opt.appendChild(document.createTextNode(pContent));
          pSelect.appendChild(l_Opt);
</script>
alert(get.get()); gives me popup with text "undefined" in IE.
So "if(gReturn && l_Select)" will never become true.
I call it in an item:
onchange="get_AJAX_SELECT_XML(this,'P3201_XXX')"
In Mozilla 2.0.0.7 everything works, i can get correct answer from get.get() and the list is being filled with "x".

Hi,
I'm having a sporatic problem.
Where do you put the encoding?
Content-type: text/xml; charset=UTF-8
Cache-Control: no-cache
Pragma: no-cache
<?xml version="1.0" encoding="UTF-8"?>
I have the following in my ODP function
owa_util.mime_header('text/xml', FALSE );
htp.p('Cache-Control: no-cache');
htp.p('Pragma: no-cache');
owa_util.http_header_close;
then I start my select list:
     htp.prn('<select>');
     htp.prn(ls_default);
and a loop to build the option code

Similar Messages

  • Problem downloaden ebooks. i get the message: 'Elic already fullfilled by another user'  ( i had to authorize adobe digital editions on my comp to be able to share a certain book, but now doesnt download books anymore from shop) How can i solve this?

    Problem downloaden ebooks. i get the message: 'Elic already fullfilled by another user'  ( i had to authorize adobe digital editions on my comp to be able to share a certain book, but now doesnt download books anymore from shop) How can i solve this?

    You has a other Adobe ID in Adobe Digital Edition by the First open of the eBook....or you have open the eBook with empty authorization. When has used a other adobe id should change the adobe id, if not the eBook are looked with the empty authorization. In this case need a new Download of the eBook of his reseller.

  • I open Firefox and Google a question. When I find what I think is going to help me, I click on it and all I get is an empty page - no pdf with my answer. Just a blank window.

    When I open the firefox application and fill Google in with a question, I get several options. When I click on the option I want, all I get is an empty window. Why can't I access information?

    Is this a problem with all Google search results or only links that directly open PDFs?
    I can't recall whether Firefox 3.5 had the applications tab here:
    Firefox > Preferences
    If it does, try searching for PDF and see whether related content types have become associated with the wrong application.

  • I was told to update iTunes. The update failed. Now I can't open iTunes but get the following messages: The program can't start because MSVCR80.dll is missing from your computer. Try reinstating the program to fix this problem.  Then I get iTunes was not

    I was told to update iTunes. I did and it failed. Then every time I tried to open iTunes I get the following message: "The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem." Then I get the following: "iTunes was not installed correctly.  Please reinstall iTunes. Error 7 (windows error 126)." I have uninstalled and installed iTunes a couple of times with no luck. I cannot even access iTunes support

    Troubleshooting issues with iTunes for Windows updates - MSVCR80

  • Hi, I cant open a document I have been working on. It has previously been saved without a problem now all I get is a box stating that the file cannot be opened. Any suggestions please?

    Hi, I reecntly purchased a Mac and the Pages App. But now I find that I cant open a document I have been working on. It has previously been saved without a problem now all I get is a box stating that the file cannot be opened. It is visible in both the Pages Windows and under Recent Items but just will not open. Any suggestions please?

    Hi Colourdoodles,
    Maybe the document is corrupted. Can you open other Pages documents? Preview may open it. Right click (or control click) on the document in Finder and Open With > Preview.
    If that works, Edit > Select All, Edit > Copy. Then paste into a blank Pages document. Formatting may be messed up, but you will have editable text. Then Save (with a different name), close and see if you can open the new document.
    Regards,
    Ian

  • I had bought the iphone 5 four months ago. The problem is that it gets heated too much. I noticed it recently. What should I do? Should I take it to apple store to replace? Will they replace my iphone 5?

    I had bought the iphone 5 four months ago. The problem is that it gets heated too much. I noticed it recently. What should I do? Should I take it to apple store to replace? Will they replace my iphone 5?

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Got a Problem? How to Get Started

    Getting started on fixing your problem:
    Working with video editing on an NLE (Non Linear Editor) program can tax the most robust computers. Depending on many factors, this can be a daunting task, at best. Many of the components of one’s computer can be stressed, more than with almost any other operation, that it will ever perform.
    Getting help on the forum can seem almost as daunting, as the first thing that a poster is likely to encounter is a list of questions, before any answers. This is the natural flow, because people are trying to help remotely. They cannot come to your office and sit behind you to determine your computer system’s capabilities, and observe just what you are doing, when and how you are doing it. Do not be put off by these questions, as they are very necessary and will very likely give the respondents some clues on where to look for your problem.
    Problems can normally be broken down into these categories:
    1.) System
    2.) Assets (the Audio, Video and still images)
    3.) Project (how it is setup and with which Preset)
    4.) Workflow (what you are doing, and how you are doing it)
    If you prepare a checklist, before you post your problem, it will save everyone a great deal of time, and will likely yield your answer much more quickly. The more detail that you furnish, the fewer questions will remain, that have to be asked. Remember, you have to be the "eyes" for the others on the forum, if they are expected to help you. They could be thousands of mile away, in other time zones, and will not know about your system, your Assets, your Project or your workflow, until you tell them. Help them get started quickly, by telling them in your first post. Do your "homework," so they do not have to ask questions for the first five responses, and can start giving you answers much more quickly.
    System:
    Be very specific about your computer. Just saying that "I have a Dell" doesn’t tell them much of anything. List your CPU type and speed, i.e. Core2 Quad Q6700 2.3GHz. Same for your RAM, i.e. 4GB of DDS. Also, list your Video Card, type, connection and driver number and date. Same for your Audio System. Note: most of this data can be found in Control Panel>System>Hardware>Device Manager. Pointing people to a URL on your computer company’s Web site isn’t a bad idea, but giving the exact details of your system is far, far better. It is likely that that Web site will have the general configuration, and who knows if that is exactly what you bought. List it for them, so they do not have to go and guess, and write down the specs. of your system.
    One of the most important aspects of your system will be the I/O sub-system. What is that, you might ask? Well, it’s your HDD’s (Hard Disk Drives). The important info is how many physical HDD’s do you have. List their size, their speed, their connection, the amount of free, defragmented space and how they are allocated. This would look something like this: "3x 200GB SATA II. Drive C:\ OS, programs and Windows Virtual Memory with 185GB free, D:\ media with 120GB free, E:\ Project files, output and Scratch Disks with 150GB free." If you have any drive partitioned (not a good thing nowadays), let everyone know and give details. If you have a RAID, give full details on how it is managed, the type and how it is used in your system. [As an aside, most RAID’s should not really be considered for a system drive, unless one has built in redundancy in the RAID, i.e. 3, or more, physical disks. Remember, this info can be critical. If you have CD/DVD burners, list them and their connections. If you have external HDD’s, list them with the same details as for your internal HDD’s.
    Next, tell about your Windows Virtual Memory (Page File). How large is it, where is it located on your system and how is it managed, i.e. dynamically by Windows, or static? Again, this can be critical. For info, you will need to go to Control Panel>System>Advanced>Performance and look. In the Settings>Advanced, you should see things like Process Scheduling, Memory Usage and Virtual Memory. This is where you will find the answers. Note: depending on which OS one has, the exact location and syntax may differ.
    While we’re on the OS, list the exact OS that you have, i.e. Vista Ultimate 64-bit SP-2 with all updates and hot-fixes.
    What version of the NLE are you using and has it been updated, i.e. PE3.0.2.
    Finally, list any other programs, that might be in use, while you are editing, such as MSN Messaging, etc. These can be critical, even though you are basically editing video.
    Assets:
    Give full details on your Assets. Just saying "a bunch of .AVI’s" tells people nothing. Be very specific with the details. See this ARTICLE on what info to give, and how to obtain it. Same for your Audio and for your still images. Size in pixels, file type, etc., are very important for the stills, and file type. Sample-rate and sample size are important for the Audio.
    Project:
    How is your Project setup? Which Preset did you use? What is the Duration of your Timeline. This gives someone the "lay of the land," so to speak and is very important. Note: your Project Preset should match your Video Assets. You can always Export/Share to some other frame size, or format, but your Project should match your Video Assets.
    Workflow:
    How have you arranged your Assets on the Timeline allows someone to "see" your Project in their mind. Information such as one 00;10;00;00 AVI (remember, you will have furnished complete details on those AVI’s, or MPEG’s when you listed your Assets above) on Video Track 1 (VT1) with its Audio on Audio Track 1 (AT1). One AVI used as a PiP (Picture in Picture) on VT2 with its Audio on AT2. One MP3 soundtrack for the full Duration on Soundtrack and my Narration on the Narration Track. List any Transitions, or Effects used. If you have Titles, list them. If you have any Keyframing used, list where and what they control.
    List exactly what you are doing and to which Asset you are doing it, when your problem occurs. If you are doing something like Export/Share, list the full settings (Presets) used, and be sure to mention any other tasks being performed by your computer, while you are doing the Export/Share.
    If you have already done some trouble shooting, list what you have done and the complete results. Were there any error messages? If so, give the full description. To say, "I had error messages," tells people nothing. What exactly did they say?
    This information will help people get right to your problem and will get you up and running much more quickly.
    As an aside, think about the title of your post. Saying "Problem" is not good enough. Instead, something like "PE7 Fails on Share to MPEG-2" would be better. First, you are trying to let everyone know something about your Problem, so they will see it, and be interested in helping you. If you are having an Audio issue, mention "Audio" in the title, so the right people will find your post. Not everyone knows everything about all aspects of Video. You want the right people to see your post and to be working with you, to fix your problem. Also, later on, it is good to have a title that will be easily found by others, who may have the same exact problem. If you get an answer that works, please post back that success, so others, finding your post, will know what worked, and what did not. Note: do not put your entire post into the title. That is just tough to read and understand. Use a few words, but make them the right words.
    Other useful links:
    Get Help Quickly
    FAQ's
    System Crashes
    PE Help
    Forum Etiquette
    Help others to better help you.
    Hunt

    Hi Bill, Ho
    w or more like where do I post a question.  I can go to a forum page wher
    e there are questions but there is no place to ost a question.
    If you could clear up this I would greatly appreciate it.  I've been looking for 2 hours.
    Thank you!
    Cindy

  • I have a client that uses Windows that has recently told me she can no longer open the PDFs I send her. I can't find this elusive "Always Send Windows-Friendly Attachments" setting that I have read may solve my problem. Can someone get me there?

    I have a client that uses Windows that has recently told me she can no longer open the PDFs I send her. I can't find this elusive "Always Send Windows-Friendly Attachments" setting that I have read may solve my problem. Can someone get me there?

    Dear Dan,
    It was from InDesign that I was creating the shared pdfs. I was one of two Mac drivers in a corporate sea of Win users and had to make the change I mentioned in order for the Win users to see my pdfs for review. The difference from what you appear to be doing was that were all on an MS Exchange Server so the files were shared over the company's Exchange Server e-mail system. However, some of these files occasionally went to outside users via regular e-mail and those people had no issues either.
    So what I did was tested and worked for years.
    You might look at the Adobe forums or Knowledge Base to see if that is a reported issue with newer version of CS. I was on CS2 when I was doing this, and the other Mac driver was on CS3 but had no problems either.
    Some Win users I've talked to find a problem opening some pdfs (not mine) in general and found they had to open Reader first and them open the file from Reader's File menu. That most often happened if the client was using an outdated version of Reader.

  • I have been exporting lightroom webgaleries to my iweb site without any problem.  Suddenly I get the error message "finder can't complete the operation because some data can't be read or written" - error code -36 - thoughts?

    i have been exporting lightroom web galleries to my iweb site without any problem.  Suddenly I get the error message "finder can't complete the operation because some data can't be read or written" - error code -36 - and the move to the sites folder on my idisk fails..... thoughts?

    Try this community: MobileMe on my Mac: MobileMe: Apple Support Communities.
    And you can continue to use iWeb for some time to come. The following will explain:
    It's now confirmed that iWeb and iDVD have been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. HOWEVER, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    In addition the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on.
    HOWEVER, the iLife 11 boxed version that is still currently available at the online Apple Store (Store button at the top of the page) and those copies still on the shelves of retailers will include iWeb and iDVD.

  • I have a MacBook Pro and OS10.6 and am trying to log into a site that requires me to enter a code from a picture ... problem is all I get on the screen is a white '?' in a blue box. What do I need to display the picture?

    I have a MacBook Pro and OS10.6 and am trying to log into a site that requires me to enter a code from a picture ... problem is all I get on the screen is a white '?' in a blue box. What do I need to display the picture?

    Reload the page. If it doesn't load, choose Activity from Safari's Window menu, find that picture in the list, and see what it says to the right; this may reveal what the problem is.
    (91827)

  • I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct.

    I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct. I have re-set both router and all laptops - no joy. They can all see the network but cannot connect.

    This is extraordinary. I have moved the router and also tried resetting it to its factory strings.  We have had this router for over a year and all our devices have always worked. Now all four laptops will not connect to the internet. Only one oMac and our phones and iPad.
    I have had far more devices running at once before but now all laptops are timing out on connection. Some say this iIP address is already being used but if I manually set to a slightly different IP address it does not help, noir if I manually set to the correct IP address. Why would all our laptops (four) suddenly be unable to connect?

  • Problem accessing iTunes. Getting error message "The iTunes Library Extras.itdb file is on a locked disk"?

    Problem accessing iTunes. Getting error message "The iTunes Library Extras.itdb file is on a locked disk"

    Close iTunes, delete iTunes Library Extras.itdb from your iTunes folder, start iTunes. iTunes should rebuild the file automatically.
    tt2

  • Has anyone had a problem with Draft Emails getting sent with Mac OS 10.8.2? It just happened to me and sent a few drafts out to a potential employer I planned on sending out torrow.

    Has anyone had a problem with Draft Emails getting sent with Mac OS 10.8.2? It just happened to me and sent a few drafts out to a potential employer I planned on sending out tomorrow.

    Hi, one question & one suggestion...
    What possible things are connected at home but not at the store, inlude every cable, etc.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable?

    I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable? Any ideas

    Try dragging the image to the desktop, then drag the image to the slide you want it on

  • I have an ipad3(wifi  cellular). Now i want to upgrade my iOS5.1 to ios 7. But download speed in our country is too slow(100kbps). It can be disconnected anytime. Is there any problem if net connection get disconnected while upgrading ios? Please ans me.

    I have an ipad3(wifi +cellular). Now i want to upgrade my iOS5.1 to ios 7. But download speed in our country is too slow(100kbps). It can be disconnected anytime. Is there any problem if net connection get disconnected while upgrading ios? Please ans me.

    haha, so now i'm thinking. I'm learning the terminal as fast as i can but there are several lines of codes and commands in there that throws up red flags to me that i don't fully understand. It just looks fishy too me. It would be highly appreciated if someone could just check this out just to tell me that i don't need to worry about it. Or point me in the right direction. I just feel un easy about this. ha.

Maybe you are looking for

  • My Mac Book Pro (2010 - Snow Leopard) won't boot, or boot from safe mode.

    Hi, a bit of back ground knowledge bout the situation first, I was visiting home to see my family for two weeks in the UK, as i am currently on an internship in Dubai. A few days ago (one day before i flew back to Dubai from the UK - Thursday 10/07/2

  • One time Vendor Master record

    Can anybody please suggest me the process of uplifting a one time vendor master to regular vendor master

  • Third Party tools nw2004s

    Everyone, we are doing major upgrade from 3.5 to nw2004s.I have links from the master guide regarding the upgrades but can any one tell me how does it affect our third party tools already running on 3.5x. do they still continue running on new release

  • RAC implementation praposal

    Hi, Does any one has a RAC implementation proposal document. Currently preparing on document but not getting many points. Any advices. Thanks in advance.

  • Does readLine return null at end of file?

    My program is reading lines from a file in groups of 5. I want it to stop reading when it has reached the end of the file. Does readLine return null when there are no more lines or is there another way to end a loop like this? Thanks! try { String a,