Problem with combo in js IE - new Option(t,v) not working

hello! Did somene had experience some problems with
adding new options in select object (combo box) in javascript? I can change text or value property, delete option by setting it to null, but when I want to add new, there is a problem!?
why this code doesn't work?
<script>
ref = window.document.frmExample["cbo1"];
alert(ref.length);
ref.options[ref.length] = new Option("text'","value1");
alert(ref.length);
</script>
interesting thing is that this works in Netscape (6), but it is not working in IE(5.5), and this is my first and last example where Netscape is 'better'...
Can someone help, please?
regards...
Vlada

you are right, it works in the 'mother' page, but if I want to add some options from popup window (window.open...), and when I accessing combo throught opener propery, than I have problem, because it is not working!?
code sample...
... 'mother' page function ...
function fAdd(){
var popupW;
popupW = window.open("page.html","name",attr);
if (!popupW.opener)
popupW.opener = window;
... popup window function...
function fClick(){
var opt;
var ref = window.opener.document.frmExample1["cbo1"];
alert(ref.length);
opt = "new";
ref.options[ref.length] = new Option(opt,opt);
window.close();
I get alert with the number ofoptions in combo, so ref is OK. I can delete some of them, change, but not to add new! Then I get Error message.
any sugestion!? Strange, but it works in Netscape ...

Similar Messages

  • Hello, I have a big problem with Firefox: Session Manager & Undo Closed Tab addons are not working, Sync Is not working. History is working. How to fix this?

    Firefox remembers history but doesn't remember closed tabs, sessions.
    It happened after updating Fox to v. 19.0.2 on one computer.
    In Firefox Options is set Use Custom Settings For History, everything is checked except Always Use Private Browsing Mode. So I am not in private browsing.
    When I press on Undo Closed Button nothing happens & in session manager Save Session Button is greyed out. I've tried installing other add-ons that can remember tabs. tried to disable/reinstall these 2 add-ons. Did't help. On my 2nd computer I have same add-ons, same settings and they are working normally. on 3rd computer undo closed tabs works also. How to fix this? I decided to ask before doing Firefox Reset...
    Sync is a separate problem. It works, but quite often it logs me out of Sync account. Then I can log in only using long recovery key and password (choosing option I don't have device with me because it does not accept keys for pairing device.)
    Thanks for reading.

    I have exactly the same settings in Options (in both computers)
    for history, these 2 add-ons and all other stuff in Options. The only difference is that on 1 pc sessions can be saved and closed tabs can be reopened, on other main pc they stopped to work. + no any other add-on that does similar things works on this pc.
    It is also interesting that I can reopen closed visited sites from History Panel, but not by pressing the Button. For now I only manually bookmark links to a temporary folder.
    Recently (some 2 month ago) I pressed x and Firefox closed all tabs without saving them without displaying save & quit pop up.
    so I changed 4 settings in about.config
    browser.tabs.warn on close true
    browser.warn on quit true
    browser.warn on restart true
    browser.show.quit warning true
    but the problem with sessions appeared only 1 week ago.
    So I guess the problem is not with the History settings or other settings. Seems that something responsible for button or for storing info about tabs/sessions got corrupted. :(

  • Notice problem with addon said to deleate did now firefox will not work

    received a notice ad lock was causing problems with Firefox. It said to delete and restart Firefox. I did and now I can not get it to work. It said it is running but I can not find it. So it must be running in the background.
    I tried to uninstall but it said it is running and I can not shut it down. How do I get my computer working again?
    I have turned to computer off twice with no luck at getting Firefox to run again.

    Adblock shouldn't give that error. You must've downloaded Adblock from somewhere other than AMO (addons.mozilla.org) or the official site (adblockplus.org)
    Anyway, you might want to try Safe Mode to see if you can open it up,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    If it opens, then it's probably a problem with your extensions.
    See the article [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Troubleshooting Firefox in Safe Mode] to help relieve this.

  • Problem with my Library Program (mouse clics and keyboard strokes not work

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688186]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I work in a library in Saint-Raphaël France. We have a full web program placed on our server named Vubis Smart (Infor Society) to manage the books (our database). When using Firefox to access from remote machines every 3 mouse clics, only one is functional ; second problem when i type on the keyboard every 3to6 letters, a letter did not appear. With Microsoft internet explorer no problems. This problem appears only in our computers (not in the other libraries). Windows vista pro sp2. Dual core e5300, RAM2Go. Antivirus Trend Office Scan. How can i analyse this fact ? Thanx for your help, as i realy want to use Firefox instead of IR(Bleahh).
    == This happened
    ==
    Every time Firefox opened
    == we started using Firefox
    ==
    == Troubleshooting information
    ==
    no extension used. Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6
    == Firefox version
    ==
    3.6
    == Operating system
    ==
    Windows Vista
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6
    == Plugins installed
    ==
    *-Default Plug-in
    *Shockwave Flash 10.0 r12
    *Picasa plugin
    *3.0.50106.0
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Java Plug-in 1.6.0_11 for Netscape Navigator (DLL Helper)
    *Java(TM) Platform SE binary
    *Adobe PDF Plug-In For Firefox and Netscape
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.

    i solved my problem myself  !!
    you have to reset NVRAM  and  SMC  on your macBook !
    you can find the instruction by search in apple website .!

  • I am having problems with my Canon S100 camera. The shutter is not working correctly.

    I hope this is the right place to post a complaint about my Canon S100 camera's shutter not working correctly.  My daughter purchased two of these cameras, one for me, and one for herself.  Both cameras are having the same problem.  I hope Canon can help us with this serious problem.  What good is a camera if it does not take pictures?

    Stephen (Canon),
    I find it quite surprising that you do not respond to 28 pages of comments regarding this issue on the other thread and yet you directly comment here.
    Seems to me that the problem arises after significant use as the contacts in the shutter switch corrode and do not get the contact that they once did.  With many users this occurs just outside the 1yr warranty. However, it is clear that this is a design fault as opposed to natural 'wear and tear' and therefore I would expect that a company with Canon's reputation for excellent service would offer free repairs.
    Can you please confirm if Canon are preparing a response on this issue?
    Regards,
    Neil Walker

  • Problem with ABAP proxies - HTTP connection to R/3 is not working

    Hi guys!
    I'm setting up a connection from XI to R/3 , because I'm using proxy objects. Our DEV is working fine. Now I have moved the objects to QA and since the HTTP connection is not there, I need to set it up.
    I have created a service user on R/3, activated ICF service on R/3 and created a HTTP to abap type connection in XI. When I test the connection I get a new logon screen. Why? I have provided information about logon user, client, ....
    Thank you! Olian

    Hi,
    this logon screen populated when the RFC User ID is locaked. ask your basis team to release it.
    also refer below links if in case of any other problem
    Actiave ABAP Proxies -- /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Setting Up Point-to-Point Connections with proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
    Thanks
    Swarup

  • HT6065 I have a problem with my Mac book pro, my external monitor is not working and i need it to do my business. Please can someone help me with this.  I am running windows 8 on parallels.

    Since I have up dated my Macbook pro, my external monitor does not work. Who can help me

    It was working untill i did the update

  • Does anyone else have problems with built in website url links in a PDF not working in iBooks?

    I have several magazine PDF files that have lots of website url links built in to them.
    When I click the links when viewing the PDFs via iBooks they often don't work.
    However, the exact same PDF when viewing/clicking using other PDF apps like GoodReader work perfectly fine.
    Nothing else is different except which app I am using to view the PDFs.
    Anyone?

    It would appear iBook app doesn't support hyperlinks except within a document.

  • When I go to open Itunes I get a message that says "Itunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly.

    When I go to open Itunes, I get a message saying "Itunes has detected a problem with your audio configuration. Audio/Video playback may not work properly. I've tried closing and re-opening Itunes but it still comes up. I've also tried removing quicktime, repairing Itunes and restarting my computer after that. It still says the same thing. I've also tried reinstalling Itunes as well.

    Hi Ganeshpandianm,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    iTunes for Windows: iTunes cannot run because it detects an issue with QuickTime
    http://support.apple.com/kb/TS1371?viewlocale=en_US
    "iTunes cannot run because it has detected a problem with your audio configuration"
    Cheers,
    - Judy

  • TS5376 I'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.

    'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.  I have even done a repair to see if that works and it has not.  Has anyone else found a new way to get it working?

    Try Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Does anyone has a problem with the screen of the new ipad? (there's a part of the screen which the color in it is "very" bright) and when I move the aluminium part of the smart cover when it's attached to the ipad the colors change!! Help!!!

    Does anyone has a problem with the screen of the new ipad? (there's a part of the screen which the color in it is "very" bright) and when I move the aluminium part of the smart cover when it's attached to the ipad the colors change!! Help!!!

    I'd take it into my local APple store and have them look at it. There may be something wrong inside your device.

  • A Problem with Maps in OS 6 (New iPhone too)

    I read on abc.com that there is a big problem with the Maps app on the iPhone 5.  Not sure if it is in all devices running OS 6 but I would think so.  has anybody heard about this?  Anybody heard if a remedy is on the way?
    I am also wondering if people are sleeping out at the Apple Stores? I do not have a TV so I can't watch the local news.  I called the local Apple Store and this afternoon the Apple rep who answered the phone said if you want one you better come and get in line.  I askd if they plan to have a workshop (free) for the new iPhone 5 and he said NO.  I doubt that.

    NObodE wrote:
    I read on abc.com that there is a big problem with the Maps app on the iPhone 5.  Not sure if it is in all devices running OS 6 but I would think so.  has anybody heard about this?  Anybody heard if a remedy is on the way?
    No, no one has heard anything.  Seriously, have you even tried using the Search Discussions box at the upper right of this page? Or just scrolled down the page and looked at the threads about the Maps app?

  • I have a problem with the WiFi on my new 4th gen 32g Itouch.

    I have a problem with the WiFi on my new 4th gen 32g Itouch. It is showing the bars and the wifi connection is showing that it is on but I can't get onto any of my apps that use the internet. Any suggestions as to what might be the problem? Thanks!

    - Do other devices successfully connct to the same network?
    - Does the iPod successfully connect to other networks?
    Try :
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Powering off and then back on your router.
    - Resetting network settings: Setings>General>Reset>Reset Network Settings
    - The troubleshooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections

  • Problems with iwork09 opening on my new macbookair

    I have a problem with opening iwork09 on my new mac book air. I didnt purchase it online, i had the installing CD and it worked great on my old mac, now I moved it from the old one to the new one and even after the update, when I try to open the pages or numbers, the window pops up saying what you can see on the pic.. any suggestions?
    Thanks,m

    What version is Pages now?
    The latest version is 4.3
    And how did you transfer iWork from the old to the new Mac? Migration Assistant does not do a good job of transfering the iWork Apps.
    You need to install from scratch and update that.
    Peter

  • Hi! i'm having a problem with my safari as unnecessary new tabs keeps opening overtime i open some link! is anyone experiencing something like this !

    hi! i'm having a problem with my safari as unnecessary new tabs keeps opening overtime i open some link! is anyone experiencing something like this !

    There is no need to download anything to solve this problem.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

Maybe you are looking for