Ajax stopped working properly!!

hello
the two pages in question are, http://www.southmoorac.com/matches.php ,  and http://www.southmoorac.com/matchresults.php
they have been working fine, but i have just installed cs4, and have been trying a few random things.
both pages are child pages from a common template, so they both have this code:
<script src="scipts/callajax.js" type="text/javascript"></script>
<script src="scipts/callajaxresults.js" type="text/javascript"></script>
on clicking the rellevant radio button to trigger a data sort, matches.php goes through callajax.js , and matchresults.php goes through callajaxresults.js
the problem is, if i click the sort data radio button in matches.php, it looks for a function in callajaxresults.js. - this function obviousley doesn't exist, so it throws up a page error.
it's as if it doesn't even look in the callajax.js file.
if i was to change
<script src="scipts/callajax.js" type="text/javascript"></script>
<script src="scipts/callajaxresults.js" type="text/javascript"></script>
to
<script src="scipts/callajaxresults.js" type="text/javascript"></script>
<script src="scipts/callajax.js" type="text/javascript"></script>
the problem is reversed. the matchresults.php stops working correctly.
so i'm pretty sure that the problem lies with
<script src="scipts/callajaxresults.js" type="text/javascript"></script>
<script src="scipts/callajax.js" type="text/javascript"></script>
any ideas?

Hi
I understand and agree that one would think so, but this will only work with javascript 1.8 (I think, but as no browser supports 1.8 yet!), and then only if one uses namespaces.
The problem with using 2 functions with the same name, is that it may work 100 times without a problem, then suddenly start using the second version, for no apparent reason.
As I said before the script does not matter, this is only a way of loading the javascript functions etc.into the browser, (you could use a function within a function).
PZ

Similar Messages

  • I get the following message: Mozilla Firefox plugin-container has stopped working properly. What do I do?

    the message:" Mozilla Firefox plugin-container has stopped working properly" appears regularly in my maintenance center. I am on Windows 7 and Firefox 3.6.17

    I had the same type of failure. It was caused by a FF upgrade from V4 to V9.1. Dearing 1955 did not say what version caused the problem. My USB ports started acting up. I could not install the Webcam that was installed before. The HP Scanner of my OJ 8500 stopped working (USB). Did get it to work via Wireless. Removing FF did not clear the problem. Believe I have infected USB driver now.

  • ITunes has stopped working properly.

    iTunes has stopped working properly.

    Ok.
    3 days ago, for no apparent reason my itunes stopped working.
    This only happens after it has "synced" with the itunes store and prepares to upload remaining songs.
    NOTHING has changed since then other than downloading latest itunes (11.1...whatever) which i was recommended to do after it stopped working.
    I am using windows 7
    Latest itunes version (for windows)
    I have thousand of songs in icloud, which were uploading fine until 3 days ago.
    Windows message reads something like: Itunes has stopped working properly, windows will now close the programme blah blah balh.
    Bit annoyed.  Tried copying the dll file from QT that somebody mentioned earlier. Also tried "repairing" programme and re-downloading update.
    Not working still!!!! HELP PLEASE!!!

  • After installing Maverick on my macbook pro, imessage on my ipad and Iphone stopped working properly.  Is there a fix/test.

    After installing Maverick on my macbook pro, imessage on my ipad and Iphone stopped working properly. 
    What I get is a RED exclamation and "Not Delivered".  It happens even if i resend it over and over.
    I have made sure that the 3 devices all have the same settins in iMessage.
    I have made sure to try doing it from the same network and from the cell provider network.
    I have tried rebooting all three devices.
    The only way to get it to work on my iphone and iPad is to dissable it in Mavericks on my MacBook Pro.
    Is this a "feature" of the new OS?

    Hi,
    On the iOS devices remove the Apple ID.
    Set the device in to Airplane Mode (this breaks with the server)
    Start with the iPhone to add back the Apple ID - only after you see the iPhone Number is Verified.
    The Restart the Mac Version
    Accept the pops ups that state what the iPhone  is using.
    Do same on iPad.
    8:31 pm      Wednesday; April 2, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Media smart tv stopped working properly

     I get this  error message :media smart tv stopped working properly. Cant find the software, can anyone help.?

    I'm not even sure if I am to use the YouCam or media smart software. This is confusing, it worked the first time I used it then you cam wanted to update system andf now it says I have no webcam....it's built in.
    I have a pavilion dv7

  • Mozilla Firefox plugin-container has stopped working properly

    Mozilla Firefox plugin-container has stopped working properly. FOR THE UMPTEENTH DAMN TIME... HOW DO I FIX THIS on Firefox 3.6.13!?!?!?!?!?!?!?
    ''edited by a moderator - https://support.mozilla.com/en-US/kb/Forum+and+chat+rules+and+guidelines ''

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]
    See also http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins

  • Stocks App Stopped Working Properly

    The Stocks App on my 3G iPhone has recently stopped working properly.
    When I open it, the current share prices all still come up as expected, but the numbers at the right hand side in the green and red boxes where it tells you the + or - shift for the day no longer show. Now they are all blank.
    Has anyone else experienced this? If so, do you have any suggestions to fix it?

    Have you tried a reset (hold the sleep/wake & home button until the Apple logo appears while ignoring the slide to turn off)?

  • Clone tool has stopped working properly, the sample area doesn't follow the target area?

    Clone tool has stopped working properly, the sample area doesn't follow the target area?

    I understand. I was very unhappy with Adobe when my PSE 11 stoped working properly. I had it for only about 6-7months before I updated my software on my imac and it all went downhill.... Then to add to that my Adobe account was hacked. Adobe never informed me of this situation. I heard through a friend that I should check to see if I was one of the very many who's online accounts were tampered with. I had to reset every single password and username for nearly 30 online accounts to avoid any further tampering with the hackers. And all Adobe suggested was for me to pay for an upgrade to PSE 12 which I did but wasnt very impressed to say the least ( i was on an online chat with them for over 2hours trying to get my PSE 11 issues solved to no avail). Then this sluggish performance starts happening again using the new version PSE 12?. I'm going to stay clear of adobe if I have the option to purchase similiar software from another supplier. I would and will encourage anyone else who has problems with there software to do the same. Older versions should work perfectly fine for ages. I wonder If Adobe is trying to get us all to pay for the monthly subscription option(s) to avoid having issues with older versions of their software. As the subscription option keeps you ontop of all the latest versions... I wouldn't put it past them.
    All the best returned,
    Ray

  • Spotlight has stopped working properly. Even when a known file is entered (with full file name) in search, it fails to find it. Any ideas?

    Spotlight has stopped working properly. Even when a known file is entered (with full file name) in search, it fails to find it. It finds some things, but is not to be depended upon. Any ideas?

    Try reindexing spotlight: Spotlight: How to re-index folders or volumes - Apple Support
    If you still have problems, open Console app, select All Messages, then search for mds in the search field. Then search for mdworker. See if there are any messages indicating it is having problems with certain files.
    You can also delete the index altogether and cause it to reindex with a command in Terminal. I have always assumed the method above will do the same, but I'm not certain. You must run this command while  logged into an admin account. Copy the whole line and paste it into Terminal.
    sudo mdutil -E /
    sudo temporarily elevates your privileges and will ask for your password. When you type it in, there won't be any response in the Terminal. Just type it and hit return.

  • HT3669 After update the printer HP Deskjet F300 Series stopped working properly

    I would like to notify you that i use drivers for HP Deskjet F300 Series Version 1.0.1 and after this update the version upgraded in version 2.0.0 and the printer stopped working properly. I removed from library all folder of HP drivers and then i re-install old version from .dmg file from this official link of HP and now it works properly again.

    Hi ds5710,
    I understand you have a Deskjet F300 series printer that is currently telling you it's offline and won't print. I will certainly do my best to assist you in resolving this issue.
    If you're using Windows, I would suggest you start by downloading and running the HP Print and Scan Doctor as it should be able to rectify whatever is causing your printer to show as offline.
    If that doesn't resolve your issue, or you're using a Mac, please get back to me with which version of Windows or Mac that you're using and I will certainly see what else we can do!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Adobe flash player stopped working properly please help

    i'm using adobe flash player version10.0.32.18 on vista, and everytime i open my facebook application, i often encountered adobe flash player stopped working properly, then the page will recover, then after few minutes it will stopped then recover again. please someone help me how to solve this problem.

    Hi, Thanks. Your Flash Player files and the SWO(if it is vs 10.0.45.2) are correct. Are you having problems on other sites
    or just that one? Are you getting a message that is different than "you need to update your Flash Player?"
    Many times it is the websites or if you are getting this from a game, then that can be causing the problem. I haven't been
    able to determine if the websites that have NOT updated to support the latest Flash Player are just putting out a generic
    message or not.  You might want to check with the site to see if they support FP vs 10.0.45.2.
    You may have an add on that is conflicting also, it is hard to tell. Some anti-virus programs have add ons that may conflict.
    Since several users are having problems with Facebook, Farmville, Zynga, etc. my opinion is that it is not your computer.
    One that posted here is waiting on a reply.
    Thanks,
    eidnolb

  • Model e9300z with operating system Windows 7 -video driver stopped working properly

    I have a HP Pavilion  With Microsoft Windows 7 Home Premium  System type: x64 -based PC Product number:AZ217AV-ABA. 
    Shows PC issue- 
    AMD/ATI Video Driver has stopped working properly. Can someone please advise on how to correct this? That I am aware of I did not make any changes to the system at all. 

    I suggest installing the updated driver below from HP to see if it resolves the issue.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=pv-112311-1&cc=us&dlc=en&lc=en​...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Firefox stops working properly after a period of time

    btw, I can't type in this box. I'm typing this in another program and pasting it in.
    Using Firefox 5. I just installed Lion yesterday for Mac, but this problem occurred even before I did so. After a period of time, FF stops working properly. I notice it when I try to open a new tab. It won't switch to the new tab and the screen turns blue. If I type in a web address, it looks like it tries to go there, but it doesn't. When I look at any other already open tab, it has the blue screen. I have to restart to get my proper web pages back.

    Whenever I click on "More System Details" there are several things I hope I won't see. Your Conduit Engine is one of them. It is malware by any reasonable definition and a cause of major problems with Firefox.
    Google for information and advice as to how to get rid of it. Someone may come along with more specific advice..
    If things aren't perfect after that you could do some straightforward troubleshooting(Safe Mode, Problematic Extensions, Hardware Acceleration etc) - in default theme -
    https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes

  • Adobe flash player stopped working properly

    I just purchased a new laptop with windows 7, 9 days ago, and I keep getting a notice that adobe flash player has stopped working properly. My laptop has windows 7 and I use ie8 and of course is a 64bit.  I play Farmville alot and have had constant notices that flash player has stopped working properly. I don't know if it is the creator of Farmville but playing the game is choppy, hangs, freezes, and am constantly getting error messages like Microsoft runtime library
    I have checked the add ons and flash player is enabled. I followed the troubleshoot a problem and uninstalled and then reinstalled flash player but still have problems.  Any help is appreciated.

    Hi, Thanks. Your Flash Player files and the SWO(if it is vs 10.0.45.2) are correct. Are you having problems on other sites
    or just that one? Are you getting a message that is different than "you need to update your Flash Player?"
    Many times it is the websites or if you are getting this from a game, then that can be causing the problem. I haven't been
    able to determine if the websites that have NOT updated to support the latest Flash Player are just putting out a generic
    message or not.  You might want to check with the site to see if they support FP vs 10.0.45.2.
    You may have an add on that is conflicting also, it is hard to tell. Some anti-virus programs have add ons that may conflict.
    Since several users are having problems with Facebook, Farmville, Zynga, etc. my opinion is that it is not your computer.
    One that posted here is waiting on a reply.
    Thanks,
    eidnolb

  • Tab stops working properly if .swf is loaded by SWFLoader

    Hello,
    I have swf file built by Flash CS5. The file contains different user interface entities like dialogs and buttons.
    All the objects are exported for ActionScript and controlled by the ActionScript code.
    I made loader that loads above mentioned swf by SWFLoader and shows the content.
    If I use this loader the Tab button stops working properly. It doesn't change the keyboard focus.
    What is wrong? What have I missed?
    Thank you,
    Dmitry

    I tried, but unfortunately, this doesn't help.
    I also tried to implement IFocusManagerComponent interface by TextFields as told here http://forums.adobe.com/message/3127914
    but It seems it's not enough.
    I also found out that it's necessary to implement IFocusManager, but I can't find the example of the implementation.
    http://forums.adobe.com/thread/87580
    http://tech.groups.yahoo.com/group/flexcoders/message/132629
    Any help/advice is really appreciated.
    Thanx.

Maybe you are looking for

  • Is it possible to change the color of the folders in OS 10.10.2 Yosemite?

    Is it possible to change the color of the folders in OS 10.10.2 Yosemite?

  • Error in installation of 64 bit 11g client on solaris sparc64 bit

    hi, i am getting below error while installing the 11g 64 bit client on solaris sparc 64 bit machine. following error is occurred while installing 64 bit oracle 11.2 client on Solaris 64-bit sparcv9 OS: Error in invoking target 'mkldflags ntcontab.o n

  • Can anyone help with these kernel panics?

    I work for the NHS.  Have spent most of my salary on Adobe Premiere Pro using a Intel Core Mac OS 10.5.8 which is supposed to be enough for the system requirements.  Have spent all day shutting down my computer unable to start the software.  If it do

  • Seeburger File/VAN adapter

    Hello, Is it possible to use a File/VAN adapter from Seeburger for simple ftp scenario, without connection to a VAN? How do I configure the adapter parameters? Many thanks! regards, Erik

  • Problem mit Diashow Editor in Elements 8

    Hallo, mit Elements 8 kann ich zwar eine Diashow erstellen, beim Abspielen bleibt das Fenster im Editor und bei Vollbild jedoch schwarz. Ich sehe unten, dass die Show läuft und höre auch die Musik. Mit Elements 7 hatte ich kein Problem. Ergänzung: 1.