Files run in FireFox, but I get a Runtime Error in IE

Everything performs great in FireFox, but in IE the page
doesn't even load. I get a runtime error that can not be
debugged???
Javascript
//the data set constructor
var dsGroups = new
Spry.Data.XMLDataSet("bookearly_regions.xml", "states/state");
var dsHotels = new Spry.Data.XMLDataSet("{dsGroups::url}",
"PriceModule/PricingGrid/row");
var dsDDLRegions = new Spry.Data.XMLDataSet(null,
"PriceModule/PricingGrid/row", { distinctOnLoad: true,
distinctFieldsOnLoad:['@region', '@location']});
var dsDDLLocations = new Spry.Data.XMLDataSet(null,
"PriceModule/PricingGrid/row", { distinctOnLoad: true,
distinctFieldsOnLoad:['location']});
// Add a listener that fires after the page is loaded.
Spry.Utils.addLoadListener(function()
Spry.$$("#theGrid").setAttribute("spry:region","dsHotels");
Spry.$$("#repeatHotels").setAttribute("spry:repeat","dsHotels");
Spry.$$("#ddlRegions").setAttribute("spry:region","dsDDLRegions");
Spry.$$("#ddlRegions").setAttribute("onchange","applyFilter(this.selectedIndex);
updateDDLLocations(this.options[this.selectedIndex].value);");
Spry.$$("#ddlRegion").setAttribute("spry:repeat","dsDDLRegions");
Spry.$$("#ddlLocations").setAttribute("spry:region","dsDDLLocations");
Spry.$$("#ddlLocations").setAttribute("onchange","applySiteFilter(this.selectedIndex);");
Spry.$$("#ddlLocation").setAttribute("spry:repeat","dsDDLLocations");
Spry.$$("#ddlGroups").setAttribute("spry:region","dsGroups");
Spry.$$("#ddlGroups").setAttribute("onchange","dsGroups.setCurrentRowNumber(this.selected Index);
setDefaultSiteOption();");
Spry.$$("#ddlGroup").setAttribute("spry:repeat","dsGroups");
function updateDDLRegions(notificationType, notifier, data)
if (notificationType != "onPostLoad")
return;
var doc = dsHotels.getDocument();
if (doc)
dsDDLRegions.setDataFromDoc(doc);
applyFilter(0);
function updateDDLLocations(region)
var doc = dsHotels.getDocument();
if (doc)
dsDDLLocations.setDataFromDoc(doc);
dsDDLLocations.setXPath("PriceModule/PricingGrid/row[@location =
'"+region+"']");
dsDDLLocations.loadData();
function setDefaultSiteOption()
var oSel = document.getElementById("ddlLocations");
if (oSel.length == 0)
var oOpt = document.createElement("OPTION");
oSel.options.add(oOpt);
oOpt.text = "All Sites"
oOpt.value = "All Sites";
else
oSel.options.length=1;
oSel.options[0].text="All Sites";
oSel.options[0].value="All Sites";
oSel.disabled=true;
var filterRegion=function(dataSet,row,rowNumber){return
(row["@region"] ==
document.getElementById('ddlRegions').options[document.getElementById('ddlRegions').selec tedIndex].value)?row:null;}
var filterLocation=function(dataSet,row,rowNumber){return
(row["@location"] ==
document.getElementById('ddlRegions').options[document.getElementById('ddlRegions').selec tedIndex].value)?row:null;}
var filterSite=function(dataSet,row,rowNumber){return
(row["location"] ==
document.getElementById('ddlLocations').options[document.getElementById('ddlLocations').s electedIndex].value)?row:null;}
var applyFilter = function(opt){
if (opt == 0) {
dsHotels.filter(filterRegion);
setDefaultSiteOption();
else {
dsHotels.filter(filterLocation);
document.getElementById("ddlLocations").disabled=false;
var applySiteFilter = function(opt){
if (opt == 0) {
dsHotels.filter(filterLocation);
else {
dsHotels.filter(filterSite);
dsHotels.addObserver(updateDDLRegions);
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Unobtrusive Spry Data</title>
<script src="includes/xpath.js" type="text/javascript"
language="javascript"></script>
<script src="includes/SpryData.js" type="text/javascript"
language="javascript"></script>
<script src="includes/SpryDataSetShell.js"
type="text/javascript"></script>
<script src="includes/SpryDOMUtils.js"
type="text/javascript" language="javascript"></script>
<script src="datagrid.js" type="text/javascript"
language="javascript"></script>
</head>
<body>
<p>Static content here</p>
<select id="ddlGroups">
<option id="ddlGroup"
value="{name}">{name}</option>
</select>
<select id="ddlRegions">
<option value="{@region}">All {@region}
Locations</option>
<option id="ddlRegion"
value="{@location}">{@location}</option>
</select>
<select id="ddlLocations">
<option value="{@location}">All {@location}
Sites</option>
<option id="ddlLocation"
value="{location}">{location}</option>
</select>
<table id="theGrid">
<tr>
<th id="theLocation">Location</th>
<th id="theHotel">Hotel</th>
<th id="theStarRating">Star Rating</th>
<th id="theHotelPrice">Hotel Only</th>
<th id="thePackagePrice">Package</th>
</tr>
<tr id="repeatHotels">
<td>{@location}:{location}</td>
<td>{name}</td>
<td><img src="
http://media.expedia.com/hotels/ratings/hotstar{starRating}.gif"
alt="Star Rating" /></td>
<td>{priceCol1}</td>
<td>{priceCol2}</td>
</tr>
</table>
</body>
</html>

Hi Victor,
I can't actually run your code above, because I'm missing the
XML file, etc. But the one thing that actually stands out to me is
that you are placing spry:region attributes on <table> and
<select> elements which aren't allowed.
The reason is that in IE, those elements have a read-only
innerHTML property, so they can't be used to insert new content.
The workaround is to wrap your <select> with a <span>
and your <table> with a <div> and then put the regions
on those elements.
See if that gets you going.
--== Kin ==--

Similar Messages

  • I am trying to export an Ai file as a dxf - but keep getting a PARM error. What can i do?

    I am trying to export an Ai file as a dxf - but keep getting a PARM error. What can i do?

    You can't import MPEG-2 files directly to FCP X.
    Can you play this file in Quicktime Player? If so, then you can use the free program MPEG Streamclip to convert this to Quicktime. Use the ProRes codec.

  • I run Battery Check but I get a conflicting error message

    I run the Battery Check and it tells me the battery is functioning correctly but that it cannot complete the test if the AC adapter is not attached, but it is and is charging the battery?
    HP Pavilion dv7 Notebook PC, win7 64 bit

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Files deleted using RSC Explorer - now getting "invalid path" error msgs

    Yesterday I deleted about 10 images from RSC because (1) they were no longer used in the help project and (2) RH had not deleted them from source control itself. Note: I did not just hide these files - I deleted them.
    Today when I try to "get" the whole project, I get error messages for each of those files. Caption: RoboSource Error. Message: "Error - path '[path & filename]' is invalid."
    Since these files are in various subdirectories of the project, and RSC refuses to continue getting the rest of the files after it encounters this type of problem, this means I now have to "get" the project directory by directory. Grr.
    Ok, so RSC did not like me deleting the files from RSC Explorer. So how do I fix this problem? I tried adding the files back into RSC, but I get a different error message: "Error - node '[path & filename]' already exists." (Um, which is it -- is the path invalid, as claimed by the first error message, or does it already exist, as claimed by the second one?)
    I don't know what else to try.
    The other (less urgent) question is, if I can't delete old images from RSC Explorer, and RH doesn't see to it that unused images are deleted from source control, then how do I get unused images out of source control?
    Any help would be appreciated -- especially quick help! :-)
    /Eileen

    We had already applied the 802 patch.
    I don't remember now how I solved this problem (it was back in April I posted it), but it was probably by editing the root.fpj file.
    Thank you for your replies!
    /Eileen

  • Trying to log into firefox but keep getting firefox is in offline mode and can't browse the web, I've unchecked the work offline in the file menu but still get error message...

    trying to log into firefox but keep getting firefox is in offline mode and can't browse the web, I've unchecked the work offline in the file menu but still get error message...

    The work offline option can be found from Firefox button -> Web developer or from the menubar toolbar -> Work offline (Or at least thats what happens in Windows).
    Have you any other reason for being offline; router off, firefox not dialing up or whatever. Or is security software or a firewall blocking firefox, or a network connection, or firefox setting etc set wrongly.
    See also
    *[[cannot connect after upgrading firefox]]
    *[[options window - advanced panel]]
    * [[error loading web sites]]

  • I am trying to download Firefox on my laptop which runs Vista. I am getting the following error message: Your Firefox profile can't be loaded, it may be missing or innaccessible." Please help.

    I am trying to download Firefox on my laptop which runs Vista. I am getting the following error message: Your Firefox profile can't be loaded, it may be missing or innaccessible." Please help.

    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use
    * https://support.mozilla.com/kb/Firefox+is+already+running+but+is+not+responding

  • Trying to load PSE 12 onto laotop running Windows 7 but it gets as far as installing shared technolgies screen & then stops stating that there is a fault with the shared technologies. It then reweinds

    I have been trying to load my photoshop elements edition 12 onto my laptop running windows 7 but it gets as far as the shared technologies screen & stops. It the does a roll back. I have followed the fix guidelines & cleared the 2 relevent files in the common files section of the computer several times but it still never gets past that screen. Can anybody suggest what the compatibility issue might be with widows 7 & elements 12 program?  Any help would be much appreciated, its my last day on the count down to set up. I have been trying every day. 

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • I have downloaded several times now,but i get the same error message 'corrupt file ' how do i fix this?

    i have downloaded and uninstalled firefox several times now,but i get the same error message 'corrupt file' How do i fix this and i also go to the home page to download as well as others,i have also tried downloading to my laptop the same amount of times and i get the same error message :( very unhappy

    Set Windows Defender off and try download again from here:
    http://www.mozilla.org/en-US/firefox/all.html
    If this does not help see here:
    [https://support.mozilla.com/en-US/kb/Unable%20to%20download%20or%20save%20files Unable to download or save files]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Hi Friends... I'm trying to delete a back-up file on mu TC but I get the message "The operation could not be completed because the item "bands" is in use. I'd like to start the Back from scratch, could help me out with deleting the current file?

    Hi Friends...
    I’m trying to delete a back-up file on mu TC but I get the message “The operation could not be completed because the item “bands” is in use. I’d like to start the Back from scratch, could help me out with deleting the current file?

    Sorry, I am very confused. I asked the following question....
    Is this the only backup file on your Mac, or do you have other backup files and data on the Time Capsule disk?
    The answer that you gave was....
    This is the only one
    Now you are saying that....
    But I have lots of other files on Time Capsule! The back up file is only one of them.
    Can you clarify, please?

  • I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes:Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufac

    I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes: Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufacturer for assistance. I am on a MacBook pro running 10.5.8 OS. Has anyone seen this before and how can I get it resolved.
    Thanks for your help in advance....

    Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
    Thanks!

  • TS3212 I tried to update my iTunes, but I keep getting a runtime error  R6034 Attempt to run C runtime library incorrectly.    I also got an Error 7 (Windows error 1114)

    I tried to update my iTunes, but I keep getting a runtime error R6034 attempt to run C runtime library incorrectly.  I also got an Error 7 (Windows error 1114).  Now my currently iTunes will not open.

    Hey twhitten!
    Here is an article that will help you troubleshoot this issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • HT1925 I downloaded the latest version of Itunes last night.  I uninstalled all the apple products in order but the new version won't load.  I keep getting a runtime error R6034 ProgramC:\Program files\Itunes/itunes.exe made attempt to load C runtime libr

    Can't get the latest vesion of Itunes to download correctly.  I keep getting a runtime error R6034.  I tried uninstalling all the apple components in the order given. anyone having any good advice to solve my problem?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.

  • HT2914 Hello: I am very much a novice with Final Cut. I am trying to import some video files from my desktop but keep getting an error message that says, "File error 1 file recognized, 0 access denied, 1 unknown". The file type is .mov, 35MB, 1920 x 1080,

    Hello:
    I am very much a novice with Final Cut.  I am trying to import some video files from  my desktop but keep getting an error message that says, "File error  1 file recognized, 0 access denied, 1 unknown".  The file type is .mov, 35MB, 1920 x 1080, Codec MPEG-2 video linear PCM timecode, color profile HD (1+1+1).  Can someone help?  Thanks, Paul

    You can't import MPEG-2 files directly to FCP X.
    Can you play this file in Quicktime Player? If so, then you can use the free program MPEG Streamclip to convert this to Quicktime. Use the ProRes codec.

  • I'm attempting to download a plug in or patch to rectify the inability to open RW2 files in Photoshop CC 2014. I'm trying AdobePatchinstaller but keep getting an install error. Any advise?

    I'm attempting to download a plug in or patch to rectify the inability to open RW2 files in Photoshop CC 2014. I'm trying AdobePatchinstaller but keep getting an install error. Any advise?

    Thank you but  the issue has been rectified. Adobe tech support led me through the process of updating all of my apps.
    a r o 2 0 1 4

  • Every time I download the itunes installation file, it get deleted because it has got a virus... I've turned Norton 360 completely off, but still get the same error???

    Every time I download the itunes installation file, it get deleted because it has got a virus... I've turned Norton 360 completely off, but still get the same error???

    Hello wilsona1234,
    Sorry for the trouble. What is the exact detection from Norton for the installation file? Did you download itunes from the legitimate Apple web site? What is the error you are referring to?
    Thanks,
    Harry
    Norton Support

Maybe you are looking for

  • Internet Explorer Error while running VS2005 asp form from devt envt.

    Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30560: 'Or

  • Mail 2.1.3 with Comcast ISP - delayed email messages AND not receiving them

    Having recent issues with Mail 2.1.3 and Comcast as my ISP. I was not receiving messages and receiving others delayed. Sending is fine, unless I get "timed out", where I have to input all of my Comcast account passwords one at a time. I've talked to

  • JTable SLOW to fill

    I am trying to populate a JTable from a ResultSet. The ResultSet is about 30 x 30 and takes almost 30 seconds to populate the table and display ANY HELP would be GREATLY apprieciatted. Here is my code: public void RetrieveCompanyData(boolean all)    

  • Facetime camera settings on Macbook Pro Retina

    Just purchased a new Macbook Pro Retina 13".  FaceTime camera settings do not permit adjusting picture.  The image is terrible.  How can I correct this, or is reliable third party software available for this purpose?

  • Curating an iPhone

    My largest disappointment with iCloud and iTunes Match is that activating it on an iOS device leads to a serious downgrade in how I can control the music on my iOS devices. While around fast WiFi, all works pretty well. But when preparing to be away