Problem with AJAX in IE (new) with a good explication

Hi, I´m having a problem with the appendToSelect, only working on IE, that´s why delete the else from the function:
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
     if(document.all){  
alert('1 IE '+l_Opt+' '+pValue);
          pSelect.options.add(l_Opt);
          l_Opt.innerText = pContent;
When the IE shows the alert in the value of l_Opt says "[object]" instead of the pValue wich I´ve asigned before, and the process stop without pass to "          l_Opt.innerText = pContent;"
Maybe some one could help me
Thanks a lot
PD: Sorry for the bad english, you can e-mail me to [email protected]
Thanks again

var l_Opt = document.createElement("option");
l_Opt.value = pValue;
alert('1 IE '+l_Opt+' '+pValue);
When the IE shows the alert in the value of l_Opt
says "[object]" instead of the pValue wich I´vel_Opt is an object.
You have set the objects 'value' property. If you want to display that property then you should refer to it e.g. l_Opt.value

Similar Messages

  • Problems importing from DV source, new with os x tiger

    I have used my miniDV camcorder to import footage for a long time with my powerbook. I recently tried to import footage after an upgrade from osx 10.3 to 10.4 and now my camera is no longer recognized by a number of programs including FCP and iChat.
    The camera is recognized in system profiler and iMovie. Any suggestions on how to fix this problem? Is it an issue with Tiger? please help!

    See if this hepls:
    http://docs.info.apple.com/article.html?artnum=301852
    Al

  • What is the best method to query for older GPIB equipment with ID? and newer with *IDN?

    Good day,
    I am writing a test executive where it needs to scan the bus for support of older (HP/Agilent 856x series) and newer (Agilent 440x and 444x series) spectrum analyzers. *NOTE* I originally posted this question in my NI Community blog. I apologize for redundancy but someone recommended I re-post here.
    The first frame looks for the newer analyzers with *IDN? then if that fails sets the boolean in the error cluster to TRUE. The next frame then uses the error cluster's boolean to decide whether an older HP analzer is connected instead using ID? query. Disclaimer: the second frame is a clone of the ID query of the 856x Initialize VI. I just want to use what already worked - no reinventing the same wheel?
    But, lo and behold, it doesn't work as expected. If I have the frames in this order and connect a HP8563E the GPIB time's out error. This code works with the newer 4407 or 4440 since the *IDN? query passes and the second frame is not executed.
    Now, when I move the second frame to become the first frame and run it with HP8563E the query works but will have a GPIB timeout if I have the 4407 or 4440 connected.
    Long story short, how do I support both older GPIB ID? and newer IDN? in my code?
    I have attached the query VI created with LV 2012.
    Many thanks!
    Aldrin
    Attachments:
    Query ID and IDN.vi ‏11 KB

    I think Michael Aivaliotis of JKI and NI have an elegant solution:
    https://decibel.ni.com/content/groups/large-labview-application-development/blog/2015/05/14/what-is-...
    Cheers!
    Aldrin

  • Problem with Snow Leopard on new macbook pro?

    OK here's the problem
    I just bought a new unibody macbook pro with 17 inch screen because I had previously got a 15 inch and am now selling as I realised it doesn't have an Expresscard slot which I want to help me mix music.
    The computer came with Lion and because I use all kinds of software and lots of freeware I actually want to continue using my old operating system (10.6.7) so everything runs as it did straight away.
    So I installed the OSX disk that came with the 15 inch MBP on the new 17 inch MBP, and it ostensibly worked..
    But now the shortcut buttons like volume and brightness don't work, no matter whether I check or uncheck the box in System Preferences about "standard function keys".. and when I click on Trackpad it claims "No Trackpad found"
    Bit miffed..any ideas what's going on?
    thanks
    J

    jcloth wrote:
     Bit miffed..any ideas what's going on? 
    The grey disks come with hardware drivers that are specific to a particular Mac model.
    You also cannot boot from OS X install disks that are earlier than what the Mac came with from the factory (in this case Lion)
    Your in luck that you have another Mac, because all you need is a Firewire cable to (first step) hold T boot the new Mac's hard drive to the desktop of the older Mac.
    But you need the Snow Leopard retail install disks (white, not grey) to (second step) c boot off the older Mac so you can Disk Utility Erase and format HFS and install Snow Leopard on the new Mac.
    Snow Leopard will boot off some 2011 Lion Mac machine because the hardware drivers exist on Snow Leopard disks, just have to have the right disks and the grey disks from another Mac doesn't do it.
    You may want to take a look at this thread, there are instructions to combine the 10.6.3 and the Combo Update into one disk and more help.
    https://discussions.apple.com/thread/3264421?start=0&tstart=0
    Once you get Snow Leopard working on your machine, be sure to make a Carbon Copy Cloner or two to a HFS external drives as you have no boot disks.

  • How many problems do you need to have with a mac book pro to get it replaced i have had 6 problems and they say they have fixed everything and somthing new happends

    how many problems do you need to have with a mac book pro to get it replaced i have had 6 problems and they say they have fixed everything and somthing new happends
    I have had thehad the:
    ram replaced
    Battery
    Audio
    Trackpad
    os operating system
    fans
    And they still won't replace the laptop for me worst buy ever but i have had a imac for 2 months and nothing at all wrong .

    You could try calling Apple and ask for Customer Relations.
    From Readers Digest-February, 2005
    How to Complain
          You call customer service to complain about a product, and you hang up angrier than when you started. That’s customer rage, a feeling experienced by millions of people with a major complaint, says Scott Broetzmann, president an American firm that tells companies how to offer the best customer service. His secrets to getting good service:
    Have a goal
    If you want your product repaired, say so. Want an apology? Speak up.
    Keep it short
    Focus on one problem, and be succinct.
    Stick with it
    You have to invest the time it takes. Don’t get what you want? Ask for a supervisor.
    Skip ultimatums
    Don’t threaten not to do business with them again. Why should they help you if you won’t buy from them in the future?
    Plead your case
    Many companies have information such as how much money you’ve spent with them and how often you complain. If you’re a good customer, they may be more willing to help.
    Be nice
    You’re unlikely to get what you want if you’re rude.
    Good luck.

  • Problem with ownership/privileges of NEW external hard disk

    An external La Cie drive died on me this morning. I replaced it with a brand new one on which I copied all my files from a back-up. Everything went OK. I gave the new disk the exact same name than the one that had passed away and that was enough for QuarkXpress to figure out the correct location of images imported in various documents.
    I then stumbled upon an unexpected ownership/privileges problem with an European piece of software, Ragtime, that will not allow me to do anything but read a document, claiming that "I do not have sufficient privileges".
    I tried to grant myself such "privileges" in the Get Info window, but OS X refuses, stating once again that I do not have sufficient privileges to tinker with the system.
    I am all by myself, I am the owner/administrator of the machine and don't know what to do. I called Apple Care, but they claim that I'm not entitled to any help because a) the problem occurred with a disk not manufactured by Apple and b) the software I was using is not manufactured by Apple.
    Underprivileged
    G5   Mac OS X (10.4.7)  
    G5   Mac OS X (10.4.7)  

    Hi, okapulco. Welcome to the Discussions.
    I presume this is when using Ragtime in an attempt to work with documents on the new FireWire drive. I suspect your former LaCie drive had been set-up as follows:
    1. Open the Get Info window for the FireWire drive.
    2. In the Ownership & Permissons pane, select "Ignore ownership on this volume."
    3. Close the Get Info window.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Have published iweb site for five years with no problems and just opened a new site and get - 404: Page not found  This error is generated when there was no web page with the name you specified at the web site.-is the problem with iweb or with hosting?  T

    I am sorry if thie is republished-My first time doing this and I am not sure what goes where and where to hear feedback.
    Have published iweb site for five years with no problems and just opened a new site and get -
    404: Page not found 
    This error is generated when there was no web page with the name you specified at the web site.-
    Troubleshooting suggestions:
    Ensure the page you are linking to exists in the correct folder.
    Check your file name for case sensitivity . Index.htm is not the same as index.htm!
    Temporarily disable any rewrite rules by renaming your .htaccess file if it exists
    is the problem with
    iweb or with hosting?
    One Apple tech started to fix Iweb and had to end session and the next said problem with hosting at Network Solutions as it published
    to local folder. NWS has checked sttting a few times-
    Any help would be extremely appreciated as trying to fix this for about five weeks
    Thanks VG
    <Email Edited by Host>

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it. (Even though I've now noticed you mis-spelled it! - anyway, never post your address in a forum.)
    You have a site here: http://virginiagordon.com/www.virginiagordon.com/WELCOME.html
    If that's not the page you are having trouble with, what is that page's URL?

  • Problem create DataGrid  on the new browser tab with

    Hello.I work Flex  3 Web application .I have a problem  with about create new browser tab.So that I want to create  DataGrid(with data) on the new browser tab.

    Use JavaScript to do this pointing to your DataGrid application and pass some parameters.

  • I have a problem, my wife has an ipad with photos , emails etc etc, she has recently got herself a new iPad Air, has now been using that for two or more months, more photos (new) more emails and other stuff. Will send next query as running out of room to

    I have a problem, my wife has an ipad with photos , emails etc etc, she has recently got herself a new iPad Air, has now been using that for two or more months, more photos (new) more emails and other stuff. What she wants to do is get all she wants from ipad 1 to new ipad without finishing up with 2 of everything which happen on previous occasion. I realise that she needs to tidy up ipad 1 first and get rid of thousands of emails etc. I need help.
    Thanks kiwihdrider

    Hi yes that works well when the new ipad hasn't been used. Trouble new one has been used for two months or more, has lots photos email etc etc. I am worried that these will go. When we did iPhone thru same process finished up with two of most things pics and emails. The emails alone were over 2 thousand and wife reluctant to delete them all. I would and just sort pics. Any other ideas
    Ta

  • Anyone else having problems with popups since the new security upgrade? can't get rid of them

    anyone else having problems with popups since the new security upgrade? can't get rid of them

    You may have inadvertently installed adware. You do not need to download or install anything to fix it. It ought not to be related to any Apple security update.
    For a description of how this may have occurred, how to avoid it in the future, and for Apple's recommended actions read How to install adware. Apple's instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

  • New with initial problems with Dreamweaver

    I am working on a large project, think of a multimedia-pedia.
    As I wish to do it by years, from 1950 to present, with 7 sub
    pages for each, I will end up with about 500 pages to horse around
    when I am done, which I expect to take a year or so. I have put up
    the first three years to test things and see how search engines see
    it and that kind of thing. It will not be viable of course until I
    am done with 1969 and I will have something to sell, THE SIXTIES.
    If you would like to see the project:
    http://1960.yearthatwas.com
    Perhaps someone could give me a few conceptual ideas on how
    best to do this in the first place...
    I only have a day looking over Dreamweaver but I have run
    into one problem that I need resolved before I can commit to it and
    DELETE that sorryass Frontpage I been messing with for most of ten
    years. :)
    This concerns just HTML at the moment.
    I loaded the 1960 page created in FP into DW.
    I created new tables at the top, moved the content into them
    and deleted the old tables. Hopefully ridding myself of bad old FP
    code.
    There are lots of new things I am having problems with but
    most will be resolved as I move along.
    But this one is stopping me in my tracks
    Design window:
    Returns to add lines between text and text and text and jpgs
    and jpgs and jpgs often do not show properly in IE and FF, and a
    few style formats, like center show differently in IE and FF.
    I can look at the code and the added lines are there, but a
    few never show up in the review.
    I am using
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    If that has anything to do with it.
    Sure FP with WYSIWYG is flaky, but I know how to deal with
    it, do I have to learn new flakyness all over again? :)

    > Sure FP with WYSIWYG is flaky, but I know how to deal
    with it, do I have
    > to
    > learn new flakyness all over again? :)
    >
    There is no such thing as WYSIWYG on the web or in web
    authoring.
    What you need to learn all over again is HTML and CSS, as
    recommended by
    Michael. DW will be a walk in the park with even an
    introductory
    familiarity with these notions.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "rack22" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am working on a large project, think of a
    multimedia-pedia. :)
    > As I wish to do it by years, from 1950 to present, with
    7 sub pages for
    > each,
    > I will end up with about 500 pages to horse around when
    I am done, which I
    > expect to take a year or so. I have put up the first
    three years to test
    > things
    > and see how search engines see it and that kind of
    thing. It will not be
    > viable
    > of course until I am done with 1969 and I will have
    something to sell, THE
    > SIXTIES.
    >
    > If you would like to see the project:
    >
    http://1960.yearthatwas.com
    > Perhaps someone could give me a few conceptual ideas on
    how best to do
    > this in
    > the first place...
    >
    > I only have a day looking over Dreamweaver but I have
    run into one problem
    > that I need resolved before I can commit to it and
    DELETE that sorryass
    > Frontpage I been messing with for most of ten years. :)
    > This concerns just HTML at the moment.
    >
    > I loaded the 1960 page created in FP into DW.
    > I created new tables at the top, moved the content into
    them and deleted
    > the
    > old tables. Hopefully ridding myself of bad old FP code.
    > There are lots of new things I am having problems with
    but most will be
    > resolved as I move along.
    > But this one is stopping me in my tracks
    >
    > Design window:
    > Returns to add lines between text and text and text and
    jpgs and jpgs and
    > jpgs
    > often do not show properly in IE and FF, and a few style
    formats, like
    > center
    > show differently in IE and FF.
    > I can look at the code and the added lines are there,
    but a few never show
    > up
    > in the review.
    > I am using
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > If that has anything to do with it.
    >
    > Sure FP with WYSIWYG is flaky, but I know how to deal
    with it, do I have
    > to
    > learn new flakyness all over again? :)
    >
    >
    >
    >

  • Problem with scrolling using my touchpad with the new Firefox update

    I just updated Firefox to 9.o.1, I run Windows 7 and I'm using a HP G62 Notebook PC. Ever since I have updated, I can no longer scroll on webpages using my touchpad. If I use an external mouse, I have no problems. I have also not had any problems with other applications, so I assume that this problem is related to the new update. Is there anything that I can do to fix this now, or will I have to wait for the next update?

    I just updated Firefox to 9.o.1, I run Windows 7 and I'm using a HP G62 Notebook PC. Ever since I have updated, I can no longer scroll on webpages using my touchpad. If I use an external mouse, I have no problems. I have also not had any problems with other applications, so I assume that this problem is related to the new update. Is there anything that I can do to fix this now, or will I have to wait for the next update?

  • I have one problem with my iphone 4s i c"ant  make facetime calls with other iphons. olso when i make calls on the facetime icon is question sign! can any oane hellp me! wath my be the problem because it is all new iphone!

    i have one problem with my iphone 4s i c"ant  make facetime calls with other iphons. olso when i make calls on the facetime icon is question sign! can any oane hellp me! wath my be the problem because it is all new iphone!

    First question where ae you located?  If you're in the Middle East or UAE, factime has been restricted by the government.
    If your not from there look here:
    http://support.apple.com/kb/TS3367

  • My "undo" command does not work in the new version of GB.  Please advise.  This is a real problem.  I had no issues with  GB from iLife 11.

    My "undo" command does not work in the new version of GB.  Please advise.  This is a real problem.  I had no issues with  GB from iLife 11.

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks

    hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

Maybe you are looking for

  • DNS Issues with Time Capsule - DNS Proxy periodically dies

    hi all .... looking for some suggestions I have a time capsule 1TB, connected to a linksys adsl modem in bridge mode, with the TC acting as DHCP server for my local clients. In the PPPoE settings I also enter the primary and secondary addresses for D

  • Dynamic UIElement Generation at Runtime

    Hi everybody, My problem is, that I want to create a number of elements at runtime. The number depends on the records in the database. So when I got 30 records in my database. I want to create 30 elements. So far, so good. The connection through the

  • How to change the machine name for the admin server?

    Hi, I've incorrectly set the machine name for my admin server. I now need to change this, but it's not editable (WLS 10.3.3). Is there a way to edit configuration files to get it changed? Thanks Jason

  • I have ipod gen 2 8gb. WHere do I find apps that will work?

    Gen2 8gb ipod touch.  Is there a way to search for apps that will work on that?  I know it is older.  Most of the apps I find will no longer work  on  under iOs 3.0.  Looking specifically for apps for calorie counter & book on tape. thx

  • Upgrade Java version in DB server.

    Hi, in my db server current version is: [root@prod-db /]#java -version java version "1.4.2" To install TSM for oracle (tape backup) i was asked by SA to update server java version to jre1.7.0_07. But i have never done any work like this. Can any one