My Javascript works in Dreamweaver Live View, But Not On The Server

I set up a javascript function to set the focus to the first field in a form as the page loads.  It works fine in Dreamweaver's Live View, but not on the local or remote servers.  Here's the code:
In the heading I have the following function:
<script type="text/javascript">
function setFocus()
document.getElementById("firstname").focus();
</script>
In the <head tag, I have:
<body onload="setFocus()" ...
and the first field in the form is:
            <input name="firstname" type="text" id="firstname" style="text-align: center; color: #009; text-transform: capitalize; font-variant: normal; font-weight: bold; line-height: normal; font-style: normal; font-size: 14px; font-family: Arial, Helvetica, sans-serif;" tabindex="1" value="<?php echo $fstname; ?>" size="15" maxlength="20">
I guess I must be missing something, but don't know what.

EUREKA! (and OOOPPPPSS!)  I found the problem (and I thought javascript was case sensitive - according to the tutorial, it's supposed to be).
Here's apparently wha hoppen.  The first field in the form is the person's first name, but it's also a SPRY validation field.  I gave the actual field the name and id of "firstname", and the SPRY validation the name "FirstName", figuring that scripts would be case sensitive.  In fact, when I first inserted the SPRY object, I tried to name it "firstname" also, but it wouldn't let me, so I capitalized the first letters, and it accepted that; that made me feel that this is OK.  Here's the entire field's code:          <label>First Name:
           <span id="FirstName">               
            <input name="fstname" type="text" id="fstname" style="text-align: center; color: #009; text-transform: capitalize; font-variant: normal; font-weight: bold; line-height: normal; font-style: normal; font-size: 14px; font-family: Arial, Helvetica, sans-serif;" tabindex="1" value="<?php echo $fstname; ?>" size="15" maxlength="20">
            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span></span></label>
I accidentally tripped over the answer when I started using the Dreamweaver's Edit>Find Next search to see if I had something else named "firstname", and I found that it located every permutation of that word (e.g. firstname, FirstName, FIRSTNAME etc.).  Having seen that, I tried changing the "name=" and "id=" to "fstname, and the same corresponding change in the javascript, and VOILA! it worked.  That leaves me rather curious about this alleged "case sensitivity" thing.  I get the impression that it IS case sensitive, except when IT'S NOT.  How does this work, and how do I know when it is and isn't?

Similar Messages

  • Lightbox works in  Dreamweaver Live View but not in browsers

    I wanted to find a method of showing a larger version of an image when it is clicked on so have added Lightbox2 by Lokesh Dhakar. I have set up the code for just one image to start with - the seagull on http://www.pembrokeshirewalescoastalholidays.co.uk/Food_and_Drink_in_Pembrokeshire.html
    In Live View in Dreamweaver the action works fine, but when I click on the seagull image on the web page in a browser, all I get is a white box with a small square inside it - I should be getting an image of pembroke Castle.
    I would be very grateful if you could let me know where I am going wrong?

    The following files are not found on your server -
    closelabel.gif
    loading.gif
    pembroke castle 7 large 640 by 480.jpg
    (DON'T USE FILE/PATHNAMES CONTAINING SPACES ON THE WEB)

  • Why my adobe lightbox gallery widget works well on "live view" and not well in the browsers?

    Hi I need help with adobe lightbox gallery.I am building a website using dreamweaver cs5.
    My problem is that the gallery works perfect in "live view" but when I check it in the browsers the pictures do not show at all.
    What am I doing wrong .Please help.
    Thank you

    Hi All:
    From my experience with other people having problems with the widget, here are some things you can check when it doesn't work:
    Names with uppercase characters: Some servers don't see a difference between "images" and "Images" but most of them do: Check that the paths to the folders and files are correctly written. I encourage people to use always lowercase characters. Same applies to spaces (I prefer to use an underscore instead)
    "scripts" folder: I've also found that some servers don't allow a folder called "scripts". You should change both the folder name and the paths in the main document.
    Paths: This is the most common one: Make sure that the paths to the required files are correct. In theory, you shouldn't find this when the document is at the site root. If the document is inside a folder, sometimes files' location and related paths may vary. If you are using CS5 or above, a good trick is using the related files toolbar and check whether DW can find and open the files.
    Upload all the required files: Some users forget to upload the "lightbox" folder, located inside "images". That folder contains the images used by the lightbox to work (nav and close buttons, for example). And also check that the paths to those images is correct. In this case, you can edit the paths in the parameters that you will find in the script code added to the document (names are quite self explanatory and every param is commented, so this shouldn't be a problem)
    I hope this helps.

  • HT2513 my iCal shows events in the "month" view but not in the "week" view? why is that?

    my iCal shows events in the "month" view but not in the "week" view? why is that? doesnt sync automatically all the time only sometimes

    my iCal shows events in the "month" view but not in the "week" view? why is that? doesnt sync automatically all the time only sometimes

  • The autofill feature worked on my iPad 2, but not on the New iPad. Anyone know why?

    The autofill feature worked on my iPad 2, but not on the New iPad. Anyone know why?

    Go to Settings>Safari>Auto Fill>On .... Names and Passwords>On .... Use Contact Info>On. Make sure that your contact information is correct.
    Then quit Settings and Safari completely and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    See if that helps.

  • Want to delete mails from Thunderbird but not from the server?

    Hi,
    Please tell me how to configure the settings of Thunderbird so that if i delete any mail from Thunderbird that mail would be delete only from Thunderbird not from server. I'm using IMAP configuration for all my mail accounts and I'm using Thunderbird in my laptop and tablet both.
    Currently i'm using Thunderbird 24.4.0 and i just want to delete my useless mails from Thunderbird but not from the server without using pop-3 settings.
    Actually the reason for this Question arises because whenever i use to uninstall and reinstatement Thunderbird, i use to take "profiles" as a back up and its size is increasing day by day that is making a big issue to me as i cant take a back up of such a big size file.

    Imap mail accounts keep the emails on the server and you see a remote view of those emails and folders.
    When you subscribe to see a folder, the headers are downloaded, when you select an email to read, the entire folder is downloaded to a temp cache facilitating quicker access. If you synchronize folders, then a copy of that folder is downloaded to an mbox file in your profile, so that you have a copy of the server folder. When you make any changes to a synchronized folder, read an email, delete or move etc, then Thunderbird will resynchronize with the server to update the server. A synchronized folder allows you to work in 'offline' mode and this is the best time to perform a backup as you know there is a temporary stop on synchronizing as you are offline. They will resynchronize when you go back into 'online' mode.
    So, with IMAP mail accounts, the folders you see in Thunderbird are the same folders on the webmail server. If you make any changes via Thunderbird or webmail then you are changing the same folder. You cannot delete an email without deleting it from the server, they are one and the same.
    What you can do is move/copy an email into Local Folders and delete the one on the server. The Local Folders emails are kept in your Profile on your computer, these folders/emails are not on the server, unless you chose to keep a copy of them on the server.
    Pop mail accounts cannot see the folders on the server. They only access the server Inbox folder and download emails not previously downloaded to the mail account Inbox in Thunderbird. These emails are kept on your computer in your profile folder. You can select to keep a copy on the server or not. You can choose to delete emails off your computer and off the server or not.
    If the mail account is gmail , have you subscribed or even synchronized to see the 'All Mail' folder ? Gmail's all Mail folder is their Archive folder, it keeps a copy of all of your non-deleted emails. So, you do not need to subscribe to see this folder as it only shows you what you can already see in other folders. It doubles the disc space.
    Please read section on 'All Mail' at this link.
    * http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite
    You do not have to download/synchronize the entire folder. You could select to only synchronize the most recent xx days of emails.
    see info here:
    * https://support.mozilla.org/en-US/kb/imap-synchronization#w_configuring-synchronization-and-disk-space-usage

  • Slideshow works great in "live view" but does not in "preview browser"

    My slideshow looks just fine in "live view" but when I "preview in browser" it doesn't show up at all in Firefox and is a blue square with a question mark in Safari.  This was created in Dreamweaver and the slideshow is "Advanced Random Images" from Dreamweaver Exchange.
    It was working in the browsers, but I had to make some changes. I put the slideshow within the "content" to get it to be centered on the page.
    The centering worked great, but now it's not showing up.
    Here is that section of my code:
          <!-- end .sidebar1 -->
        </p>
        <!-- InstanceEndEditable --></div>
        <!-- KW ARI Image -->
    <div class="content">
    <div id="slideShow" style="width: 600px; margin: 0 auto; padding-bottom: 15px;">
      <script language="JavaScript">
    // Advanced Random Images Start
    // Copyright 2001-2006 All rights reserved, by Paul Davis - www.kaosweaver.com
      var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array()
    // KW_rs[5000]
      KW_ARI[KW_ARI.length]='/Gallery_images/slideshow/auditorium.jpg';
      KW_ARI[KW_ARI.length]='/Gallery_images/slideshow/boardrm.jpg';
      KW_ARI[KW_ARI.length]='/Gallery_images/slideshow/classroom.jpg';
      KW_ARI[KW_ARI.length]='/Gallery_images/slideshow/conference.jpg';
      KW_ARI[KW_ARI.length]='/Gallery_images/slideshow/conference2.jpg';
      KW_ARI[KW_ARI.length]='/Gallery_images/slideshow/courtrm.jpg';
      j=parseInt(Math.random()*KW_ARI.length);
      j=(isNaN(j))?0:j;
        document.write("<img name='randomSlideShow' src='"+KW_ARI[j]+"'>");
    function rndSlideShow(t,l) { // Random Slideshow by Kaosweaver
      x=document.randomSlideShow; j=l; while (l==j) {
        j=parseInt(Math.random()*KW_ARI.length); j=(isNaN(j))?0:j; }
      x.src=KW_ARI[j]; setTimeout("rndSlideShow("+t+","+j+")",t);
    rndSlideShow(5000,0)
    // Advanced Random Images End
        </script>
            </div>
    <!-- end slideShow -->
    <!-- InstanceBeginEditable name="content" --><script language="JavaScript">
          </script>
    Any suggestions?
    Thanks!

    I haven't uploaded the page since I made the code changes, for fear that if
    they won't "preview in browser", they won't work live...
    Here's the link:   www.epaaudio.com

  • Webpage looks good with tranparent boxes and photo background in live view but not in browsers

    If anyone has time to help I would be very grateful.   I am new to dreamweaver and am trying to make a webpage with transparent colums and boxed text using styles.  It looks perfect in "live view" but when I look at it in any browser all formatting is gone.  It looks like the background with text on top layed out wrapped across the entire page.   I have not been able to figure out what is wrong in days of searching.  Does anyone know the answer?
    This first the format I want and is what it looks like in Live View, the second is what it looks like in most browsers.
    Here is the code I used:
    </style>
    <link href="../styles/tcastyles.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    body {
              background-image: url(bamboo.JPG);
              margin-left: 150px;
    a:link {
              color: #600;
              text-decoration: none;
    a:visited {
              text-decoration: none;
    a:hover {
              text-decoration: none;
    a:active {
              text-decoration: none;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 12px;
              font-weight: bold;
    a {
              font-size: 12px;
    body,td,th {
              font-family: Verdana, Geneva, sans-serif;
    .container .faqs h2 {
              line-height: 40px;
    .container .faqs ul li {
              text-align: left;
    .footer {
              padding: 5;
              position: relative;
              clear: both;
    </style>
    <div class="container">
      <div class="header"><span class="menutable"></span><img border="0" src="navigate_projects.jpg" width="307" height="167" usemap="#FPMap0" alt="The Conservation Agency - Project Menu" align="absmiddle" />
        <map name="FPMap0">
          <area shape="rect" coords="132, 112, 172, 127" href="asia.htm" alt="Asia" />
          <area shape="rect" coords="138, 92, 286, 110" href="west.htm" alt="Western Hemisphere" />
          <area shape="rect" coords="138, 73, 279, 89" href="flamingos.htm" alt="British Virgin Islands" />
          <area shape="rect" coords="131, 55, 249, 72" href="turkscaicos.htm" alt="Turks and Caicos" />
          <area shape="rect" coords="121, 35, 244, 52" href="newengland.htm" alt="Narragansett Bay" />
          <area shape="rect" coords="103, 17, 306, 32" href="coyote.htm" alt="Narragansett Bay Coyote Study " />
          <area shape="rect" coords="121, 128, 173, 144" href="pacific.htm" alt="Pacific" />
        </map>
      </div>
      <div class="menu">
        <table width="100%" border="0" align="center" id="menutable">
          <tr>
            <td height="30" align="center" valign="middle"><p><strong><a href="mission.htm">Mission</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="pubs.htm">Publications</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="projects.htm">Projects</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="opps.htm">Opportunities</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="sponsors.htm">Sponsors</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="coyote.htm">NBCS</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="guana.htm">Guana</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="tca.htm">Contact us</a></strong></p></td>
            <td height="30" align="center" valign="middle"><p><strong><a href="index.htm">Home</a></strong></p></td>
          </tr>
        </table>
      </div>
      <div class="banner">Narragansett Bay Coyote Study</div>
      <d/div>
          <div class="box739">
            <h3>What does NBCS Do?</h3>
            <p>Since 2004 The Narragansett Bay Coyote Study (NBCS) has been developing science-based coexistence and management strategies for our newest top predator.  Coyotes, originally a prairie species, have successfully colonized all parts of the continental and nearshore us in the past 100 years. They reached the islands of Narragansett Bay in the mid-1990s. Since then coyotes have become increasingly abundant and problematic in some island communities.</p>
            <p>In our history of cohabitation with coyotes people consistently  tried to eliminate them by hunting, trapping, and poisoning. Lethal removal  worked for individual problem animals but did not work as a population control strategy. Why? Coyotes have intrinsic physiological and behavioral abilities to control their own numbers. If coyotes are removed they increase reproduction and numbers rapidly rebound. The critical population regulation trigger is competition for food. As long as coyotes are well fed (with few coyotes competing for food) their populations will grow. </p>
            <p>It is also known that opposite effect occurs if coyotes if coyotes are stressed by competition for food. If there are too many coyotes competing for the food available coyotes will drop the the level sustainable by those resources.</p>
            <p>Understanding this relationship, NBCS scientists decided to study the resource use of coyotes on two islands in Narragansett Bay, Rhode Island. We used GPS tracking collars to find out where the coyotes were spending thier time. We theorized that if we could identify important coyote food resources - and control them - the coyotes would bring their own numbers down. NBCS calls this &quot;passive coyote management.&quot;</p>
            <p> Since 2005 when we trapped and collared our first island coyotes we have continually found that the most important food resources to our study are provided by people. That means they are within our control That means we can control coyotes. If we remove anthropogenic resources (human subsidies) coyote numbers will drop to the level sustainable by natural resources. When coyotes are sustained only by natural prey (mice, woodchucks, rabbits, geese, and deer) coyotes numbers will be lower and they will provide helpful pest control services. </p>
            <p>Based our scientific data NBCS generated a set of <a href="coyotes/Best Management Practices for Coexistence with Coyotes - Nov 8 2010.pdf" target="_new">Best Management Practices for Coexistence with Coyotes</a>- basically a toolbox for safe, sustainable, community coyote management. We are working with the towns in our study area to adopt the CBMPs and be the first community in the nation to successfully and sustainably manage coyotes. We also believe other cities and towns might be able to use our results as a template if they are experiencing coyote problems. We have only just begun to implement the CBMPs on our islands. We hope in the near future to have all our towns implementing the CBMPs - only then will we see the full impacts they make on coyote numbers and behavioral problems. You can follow our progress on this website.</p>
          </div>
          <div class="footer">
            <table width="100%" border="0" cellspacing="5">
              <tr>
                <td>Return to top</td>
                <td><a href="mailto:[email protected]">[email protected]</a></td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <p> </p>
    </div>iv class="faqs">
        <h2>FAQs</h2>
        <ul>
          <li>How do coyotes control their own population numbers?</li>
          <li>bla bla bla</li>
        </ul>
      </div>
      <div class="content">
        <div class="clearbox">
          <div class="col1">
            <h3>Middletown Adopts the CBMPs and passes a No-Feeding Ordinance!</h3>
          </div>
          <div class="col2">
            <h3>Pilot, Java, and the Valley Pack</h3>
          <
    And here are the styles:
    .container {
              height: 1500px;
              width: 975px;
              border: 8px solid #660000;
              float: left;
    .header {
              float: left;
              height: 170px;
              width: 975px;
              background-color: #033000;
    .menu {
              background-color: #FFC;
              float: left;
              height: 30px;
              width: 975px;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 9px;
              color: #660000;
              font-weight: bold;
              margin-bottom: 5px;
    .table {
              font-family: Verdana, Geneva, sans-serif;
              font-size: 8px;
              font-weight: bold;
    .banner {
              float: left;
              height: 100px;
              width: 739px;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 37px;
              font-weight: bold;
              color: rgba(0,51,0,1);
              background-color: rgba(255,255,204,.7);
              text-align: center;
              line-height: 75px;
              border-radius: 5px;
              padding: 5px;
              margin: 5px;
    .clearbox {
              float: left;
              height: auto;
              width: 760px;
    .box739 {
              width: 739px;
              float: left;
              height: auto;
              background-color: rgba(255,255,204,.7);
              font-size: 12px;
              color: rgba(0,51,0,1);
              border-radius: 5px;
              padding: 5px;
              margin: 5px;
    .faqs {
              float: right;
              height: 620px;
              width: 205px;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 12px;
              font-style: normal;
              line-height: normal;
              overflow: scroll;
              background-color: rgba(255,255,204,.7);
              margin: 5px;
              border-radius: 5px;
              font-weight: bold;
              color: rgba(0,51,0,1);
              text-align: center;
    .col1 {
              float: left;
              height: 500px;
              width: 359px;
              background-color: rgba(255,255,204,.7);
              font-size: 12px;
              border-radius: 5px;
              color: rgba(0,51,0,1);
              margin: 5px;
              padding: 5px;
    .col2 {
              float: left;
              height: 500px;
              width: 359px;
              background-color: rgba(255,255,204,.7);
              font-size: 12px;
              border-radius: 5px 5px 5px 5px;
              color: rgba(0,0,0,1);
              padding: 5px;
              margin: 5px;
    .footer {
              position:relative;
              clear: both;
              background-color: rgba(255,255,204,1);
              font-size: 12px;
              color: rgba(0,51,0,1);

    Helo thanks for responding .  I think it uploads...  It says it does as an assocaiated file when I put to the website.  But that sounds like it is the issue. Those format commands seem to be the one it is ignoring.  I am not familiar with html but I see that the href command is what identifies the path to the file I call TCAStyles.  I notice that dw puts all my files in a local public file and the structure is different - with no public file - at the site.
    I am not sure what the 2 dots in the href command mean - there is not a full path.  Is this command valid?  I will try to look into the directory structure on local and remote site and will check for files.

  • Page looks fine in live view but not fine in safari

    my index.html page looks okay in live view, but when i open it in safari some of my text is unformated. My CSS page is correct so the problem lies in my code. I have attached the html file, any help will be appreciated. Thank you!

    Thanks for taking the time to reply to question. Aftr taking a break. I came back realized I inserted the stylesheet before I changed site settings. I just needed to remove the forward slash from my stylesheet declaration. FYI for anyone else new to DW: if stuffs not showing  in Live View and Browser Preview eg background images, Go to Manage Sites and check your site setting for Links relative to: You may have switched between document and site root. Thus breaking your links to images or in my case the entire style sheet.

  • Javascript works in Designer preview mode, but not when invoked via process

    I have a fragment consisting of a subform and a text object. The subform has the following Javascript for its initialize event:
    var cars = $data.input.cars.car.all;
    var showMe = false;
    for (var i = 0; i < cars.length; i++) {
    if(cars.item(i).color && cars.item(i).color.value == 'RED')
    showMe = true;
    break;
    if(!showMe) {
    this.presence = 'hidden';
    The code is supposed to loop through all my input XML data's cars, see if each car has a color element, and if so, see if the color is RED. If any of the cars have a color of RED, the fragment should be visible. Otherwise, it should be hidden.
    The Javascript works fine when I preview the fragment in Designer using a sample XML input file with no color element (i.e. the text in the fragment is hidden).
    The Javascript works fine in my main document (which has the fragment included in it) when in preview mode in Designer.
    The Javascript does not work when I invoke my process in LiveCycle server. I pass in data that has 1 car without a color element, and for some reason my fragment is visible.
    Is there something wrong with my Javascript? Is this the wrong way to check to see if an XML element is present? Is something else wrong?
    Any help would be appreciated!
    Thanks,
    Andy

    I guess a more appropriate question might be:<br /><br />How can I tell if my XML input data does or does not contain an element?  Let's say I have<br /><br /><input><br />  <cars><br />   <car><br />     <make>VW</make><br />   </car><br />  </cars><br /></input><br /><br />How can I use Javascript to safely determine if the car has a <color> element?

  • Edge Animate file working on main blog page but not on the individual blog post in BC

    I recently uploaded an edge animate file to my blog which is host on Business Catalyst (BC). The edge file works on the main blog page but not on the individual blog post. How can I solve this problem?
    I did the following steps:
    I added the required Adobe Edge scripts on my main blog template.
    Create folder on the server called "edge_includes" and uploaded the 'edge.5.0.0.min' file.
    Create folder on the server called "js" and uploaded the 'jquery-1.7.1.min' file.
    Copy and pasted the div to the part of the blog post I wanted the file to appear (<div id="Stage" class="EDGE-13973370"></div>).
    Uploaded the name of the js file to the root called 'World of Code_edge.'
    Uploaded the images to the existing folder called 'images.'

    I'm still unable to figure out the problem.
    Here is the link to the blog: http://goo.gl/sPW62j (the post titled "Basic Computer Science is a Fundamental Skill in the 21st Century Society").
    Here is the link to the individual post: http://goo.gl/jTSgZH
    Also, I get mixed results on the main blog page. Sometimes the image (Edge Animate file) on the main page shows and other times it does not. However, the image never shows on the individual blog post.

  • Spry Data Set visible in Live View, but not on Site.

    Hi,
    I've used the spry data set widget to create a dynamic table. Everything looks fine in the live view. On the site itself, however, I see only a brief flash of the unpopulated spry table, and then nothing. All necessary files, including those in the SpryAssets folder, have been uploaded.
    This is particularly frustating since my first crack at a spry data set worked with ease.
    I have the feeling that I missing something simple.  Any ideas?
    Here is the table:
    http://www.ldcsb.on.ca/ntip/teachphotos/profiletable.html
    Here is the spry data set:
    http://www.ldcsb.on.ca/ntip/teachphotos/profiles.html
    Thanks for looking,
    Jim

    Jim, Your page comes up fine in Firefox, but as you said it flashes and disappears in IE8.
    I notice some differences in the ids and Spry:sort values. You might sort those out (make them the same) and see what happens.
    This is in the profiletable:
    <td id="Image">Image</td>
    <td id="First">First </td>
    <td wid="Last">Last </td>                                        lose the w
    <td id="Sschool">School</td>                                   lose the extra s
    <td id="Grade">Grade </td>
    <td id="Subject1">Subject1</td>
    <td id="Subject2">Subject2</td>
    <td w id="Description">Description</td>                    lose the w and the extra space
    And this in the Spry region:
    <th spry:sort="Image">Image</th>
    <th spry:sort="First">First</th>
    <th spry:sort="Last">Last</th>
    <th spry:sort="School">School</th>
    <th spry:sort="Grade">Grade</th>
    <th spry:sort="Subject1">Subject1</th>
    <th spry:sort="Subject2">Subject2</th>
    <th spry:sort="Description">Description</th>
    It's possible that IE is pickier than Firefox that the names be the same.
    Other than that, look for things to clean up, like tightening up the table...I notice several places in the data where there are blank lines between the </tr> of one line and the <tr> of the next.  Make sure every entry in the table has a cell for every column.
    You're right; it is an easy Widget to work with...unless some tiny thing goes wrong and it doesn't work! I have had a data set that had some of those tiny anomalies, fixed them, and now I know to look for them.
    Beth

  • Javascript works on Safari for Windows but not on Safari for Mac (2.0.4)

    One part of our mail's web-based interface is not working properly when I use Safari on Mac (2.0.4). However, it works on Safari for Windows and Firefox. I browsed through a lot of the forum entrees with java/javascript on the subject and it seems that java processing is a common problem. I have checked all the necessary settings suggested on the forums but it still does not work.
    We tried using the new Safari on another machine and it works. However, I also see lots of forum entrees asking how to uninstall Safari 3!
    I also have a window on the open-source SugarCRM not working properly on Safari 2.0.4. Any fix coming?

    I noticed that as well. I have to wonder if it's due to not making note of the the different end of line characters between Mac OS X and Windows in code.

  • C# Script to copy an Excel File working locally but not on the server when I schedule a job

    So I have these couple C# commands to copy an Excel File which works fine and dandy on my local client when I test and run this SSIS Package but when I tried scheduling the job on the server, it failed.
    These are the couple C# commands...
    // This Opens the Source .xlsx File from Emdeon ePaySmart
    Workbook workbook = excelApplication.Workbooks.Open(StringSourceFile, XlUpdateLinks.xlUpdateLinksNever, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Save the Source .xlsx Emdeon ePaySmart File as a .xls File...note xlFileFormat.xlExcel5
    workbook.SaveAs(StringDestinationFile, XlFileFormat.xlExcel8, Type.Missing, Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlExclusive, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    Is this because I'm using xlFileFormat.xlExcel8 and locally it is running fine but when I schedule via SQL Server Management Studio as a SQL Server Agent Job it seems to be failing??
    I sure hope I don't have to change this so it will run as a SQL Server Agent Job and/or run this locally every blessed week.
    Can someone clear this up for me and provide a potential solution?
    Thanks for your review and am hopeful for a reply.
    ITBobbyP85

    That is Excel automation, which requires Excel to be installed on the computer where the code runs, and is not supported on a server without an interactive user logged in.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Flash Remoting Works Locally But Not On The Server

    Hello,
    I have a flash file that connects to an asp.net page. The
    aspx page queries a databse and returns a set of records to flash.
    Flash reads in those records and processes those records. Locally,
    this works fine. However, on the server, nothing happends. I spoke
    with tech support at hosting company and they tell me everything is
    installed for Flash Remoting.
    Here is the code thats on the server:
    import mx.remoting.NetServices;
    import mx.remoting.NetDebug;
    mx.remoting.debug.NetDebug.initialize();
    //CONSTRUCTOR
    var inited:Boolean = false;
    if(!inited){
    inited = true;
    NetServices.setDefaultGatewayUrl("
    http://63.134.251.243/gateway.aspx");
    var gatewayConn
    bject = NetServices.createGatewayConnection();
    gatewayConn.setDebugID( "Gateway Connection" );
    var SQLQueryToolService
    bject = gatewayConn.getService("matthewlemke", this
    function SQLQueryToolAction(){
    SQLQueryToolService.test("SELECT * FROM flashImages");
    function test_Result(result){
    trace(result);
    _root.abc.text = result.toString();
    SQLQueryToolAction();
    Here is the code locally:
    import mx.remoting.NetServices;
    import mx.remoting.NetDebug;
    mx.remoting.debug.NetDebug.initialize();
    //CONSTRUCTOR
    var inited:Boolean = false;
    if(!inited){
    inited = true;
    NetServices.setDefaultGatewayUrl("
    http://localhost/matt/gateway.aspx");
    var gatewayConn
    bject = NetServices.createGatewayConnection();
    gatewayConn.setDebugID( "Gateway Connection" );
    var SQLQueryToolService
    bject = gatewayConn.getService("matt", this );
    function SQLQueryToolAction(){
    SQLQueryToolService.test("SELECT * FROM flashImages");
    function test_Result(result){
    trace(result);
    _root.abc.text = result.toString();
    SQLQueryToolAction();
    Any help is greatly appreciated.
    Thanks,
    Vic

    I am having the exact same problem. My remoting application
    works fine on my laptop as long
    as the url for the gateway reads
    http://localhost/remotingData/gateway.aspx,
    but if I change
    it to the name of my machine and attempt to run the swf I
    keep getting a NetConnection.call.badversion error in the
    netconnection debugger. If I attempt to connect through IE it just
    sits with no reply.
    Is there some kind of permission thing going on here?
    Flash MX2004 Professional
    Flash Remoting Components MX2004 (unlicensed)
    IIS 6.0
    IE 6.0

Maybe you are looking for